FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
libhttpserver/cmakemodule/FindLibHttpServer.cmake at simplify_dependency · Suke0/libhttpserver · GitHub
Suke0
/
libhttpserver
Public
forked from
etr/libhttpserver
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
libhttpserver
/
cmakemodule
/
FindLibHttpServer.cmake
Copy path
More file actions
More file actions
Latest commit
History
History
History
31 lines (25 loc) · 1.01 KB
Breadcrumbs
libhttpserver
/
cmakemodule
/
FindLibHttpServer.cmake
Copy path
File metadata and controls
31 lines (25 loc) · 1.01 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#
- Find LibHttpServer
if
(LIBHTTPSERVER_INCLUDE_DIRS
AND
LIBHTTPSERVER_LIBRARIES)
set
(LIBHTTPSERVER_FOUND
TRUE
)
else
(
LIBHTTPSERVER_INCLUDE_DIRS
AND
LIBHTTPSERVER_LIBRARIES
)
find_path
(
LIBHTTPSERVER_INCLUDE_DIRS
httpserverpp
/usr/include
/usr/include/httpserver
/usr/local/include/
/usr/local/include/httpserver
)
find_library
(
LIBHTTPSERVER_LIBRARIES
NAMES
httpserver
PATHS
/usr/lib
/usr/local/lib
/opt/local/lib
)
if
(LIBHTTPSERVER_INCLUDE_DIRS
AND
LIBHTTPSERVER_LIBRARIES)
set
(LIBHTTPSERVER_FOUND
TRUE
)
message
(
STATUS
"Found libhttpserver:
${LIBHTTPSERVER_INCLUDE_DIRS}
,
${LIBHTTPSERVER_LIBRARIES}
"
)
else
(
LIBHTTPSERVER_INCLUDE_DIRS
AND
LIBHTTPSERVER_LIBRARIES
)
set
(LIBHTTPSERVER_FOUND
FALSE
)
message
(
STATUS
"libhttpserver not found."
)
endif
(
LIBHTTPSERVER_INCLUDE_DIRS
AND
LIBHTTPSERVER_LIBRARIES
)
mark_as_advanced
(
LIBHTTPSERVER_INCLUDE_DIRS
LIBHTTPSERVER_LIBRARIES
)
endif
(
LIBHTTPSERVER_INCLUDE_DIRS
AND
LIBHTTPSERVER_LIBRARIES
)
Back
|
FazBrowse Home
|
New Git URL