Commit 1128ac11 by Maarten L. Hekkelman

find z and bz2

parent 980abbae
......@@ -55,6 +55,8 @@ set(CMAKE_THREAD_PREFER_PTHREAD)
set(THREADS_PREFER_PTHREAD_FLAG)
find_package(Threads)
find_library(Z z)
find_library(BZ2 bz2)
include_directories(
${PROJECT_SOURCE_DIR}/src
......@@ -67,7 +69,7 @@ install(TARGETS ${PROJECT_NAME}
RUNTIME DESTINATION ${BIN_INSTALL_DIR}
)
target_link_libraries(${PROJECT_NAME} CifPP::cifpp ${Boost_LIBRARIES} Threads::Threads)
target_link_libraries(${PROJECT_NAME} CifPP::cifpp ${Boost_LIBRARIES} Threads::Threads ${Z} ${BZ2})
if(MSVC)
# make msvc standards compliant...
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment