winpr-hash: fix building against openssl in static mode
This commit is contained in:
parent
97dd904a36
commit
c73c558d1f
@ -18,11 +18,18 @@
|
|||||||
set(MODULE_NAME "winpr-hash")
|
set(MODULE_NAME "winpr-hash")
|
||||||
set(MODULE_PREFIX "WINPR_TOOLS_HASH")
|
set(MODULE_PREFIX "WINPR_TOOLS_HASH")
|
||||||
|
|
||||||
|
include_directories(${ZLIB_INCLUDE_DIRS})
|
||||||
|
include_directories(${OPENSSL_INCLUDE_DIR})
|
||||||
|
|
||||||
set(${MODULE_PREFIX}_SRCS
|
set(${MODULE_PREFIX}_SRCS
|
||||||
hash.c)
|
hash.c)
|
||||||
|
|
||||||
add_executable(${MODULE_NAME} ${${MODULE_PREFIX}_SRCS})
|
add_executable(${MODULE_NAME} ${${MODULE_PREFIX}_SRCS})
|
||||||
|
|
||||||
|
set(${MODULE_PREFIX}_LIBS
|
||||||
|
${ZLIB_LIBRARIES}
|
||||||
|
${OPENSSL_LIBRARIES})
|
||||||
|
|
||||||
set_complex_link_libraries(VARIABLE ${MODULE_PREFIX}_LIBS
|
set_complex_link_libraries(VARIABLE ${MODULE_PREFIX}_LIBS
|
||||||
MONOLITHIC ${MONOLITHIC_BUILD}
|
MONOLITHIC ${MONOLITHIC_BUILD}
|
||||||
MODULE winpr
|
MODULE winpr
|
||||||
|
Loading…
Reference in New Issue
Block a user