File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ # - Find Crypto++
2+
3+ if (LIBHTTPSERVER_INCLUDE_DIRS AND LIBHTTPSERVER_LIBRARIES)
4+ set (LIBHTTPSERVER_FOUND TRUE )
5+
6+ else (LIBHTTPSERVER_INCLUDE_DIRS AND LIBHTTPSERVER_LIBRARIES )
7+ find_path (LIBHTTPSERVER_INCLUDE_DIRS httpserverpp
8+ /usr/include
9+ /usr/include/httpserver
10+ /usr/local/include/
11+ /usr/local/include/httpserver
12+ )
13+
14+ find_library (LIBHTTPSERVER_LIBRARIES NAMES httpserver
15+ PATHS
16+ /usr/lib
17+ /usr/local/lib
18+ /opt/local/lib
19+ )
20+
21+ if (LIBHTTPSERVER_INCLUDE_DIRS AND LIBHTTPSERVER_LIBRARIES)
22+ set (LIBHTTPSERVER_FOUND TRUE )
23+ message (STATUS "Found libhttpserver: ${LIBHTTPSERVER_INCLUDE_DIRS} , ${LIBHTTPSERVER_LIBRARIES} " )
24+ else (LIBHTTPSERVER_INCLUDE_DIRS AND LIBHTTPSERVER_LIBRARIES )
25+ set (LIBHTTPSERVER_FOUND FALSE )
26+ message (STATUS "libhttpserver not found." )
27+ endif (LIBHTTPSERVER_INCLUDE_DIRS AND LIBHTTPSERVER_LIBRARIES )
28+
29+ mark_as_advanced (LIBHTTPSERVER_INCLUDE_DIRS LIBHTTPSERVER_LIBRARIES )
30+
31+ endif (LIBHTTPSERVER_INCLUDE_DIRS AND LIBHTTPSERVER_LIBRARIES )
You can’t perform that action at this time.
0 commit comments