Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
7c39cdc8
Commit
7c39cdc8
authored
Nov 26, 2008
by
Bill Hoffman
Browse files
ENH: fix warning on HPUX
parent
306d517e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Utilities/cmcurl/CMakeLists.txt
View file @
7c39cdc8
...
...
@@ -153,7 +153,10 @@ MACRO(CHECK_LIBRARY_EXISTS_CONCAT LIBRARY SYMBOL VARIABLE)
ENDMACRO
(
CHECK_LIBRARY_EXISTS_CONCAT
)
# Check for all needed libraries
CHECK_LIBRARY_EXISTS_CONCAT
(
"dl"
dlopen HAVE_LIBDL
)
# use the cmake defined dl libs as dl is should not be used
# on HPUX, but rather dld this avoids a warning
SET
(
CURL_LIBS
${
CURL_LIBS
}
${
CMAKE_DL_LIBS
}
)
#CHECK_LIBRARY_EXISTS_CONCAT("dl" dlopen HAVE_LIBDL)
#CHECK_LIBRARY_EXISTS_CONCAT("ucb" gethostname HAVE_LIBUCB)
CHECK_LIBRARY_EXISTS_CONCAT
(
"socket"
connect HAVE_LIBSOCKET
)
CHECK_LIBRARY_EXISTS
(
"c"
gethostbyname
""
NOT_NEED_LIBNSL
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment