CMake autodetecting boost.
Added KRDataBlock to CMakeLists
This commit is contained in:
@@ -71,6 +71,15 @@ PROPERTIES
|
||||
OUTPUT_NAME kraken
|
||||
)
|
||||
|
||||
set(Boost_USE_STATIC_LIBS ON) # only find static libs
|
||||
set(Boost_USE_MULTITHREADED ON)
|
||||
set(Boost_USE_STATIC_RUNTIME OFF)
|
||||
find_package(Boost 1.65.1)
|
||||
if(Boost_FOUND)
|
||||
include_directories(${Boost_INCLUDE_DIRS})
|
||||
target_link_libraries(kraken ${Boost_LIBRARIES})
|
||||
endif()
|
||||
|
||||
# add_custom_target(package
|
||||
# COMMENT "Compressing..."
|
||||
# WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/archive"
|
||||
|
||||
Reference in New Issue
Block a user