Skip to content
Snippets Groups Projects
Commit 33480f18 authored by calrama's avatar calrama
Browse files

[cmake] update minimum version to 3.15 and update boost dependency

parent 44952f2b
Branches
No related tags found
No related merge requests found
Checking pipeline status
cmake_minimum_required(VERSION 3.13)
cmake_minimum_required(VERSION 3.15)
exec_program("git" ${CMAKE_CURRENT_SOURCE_DIR} ARGS "describe --dirty --always --exclude '*'" OUTPUT_VARIABLE SOURCE_VERSION)
......
......@@ -9,13 +9,8 @@ if( CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR )
endif()
target_link_libraries(${target} biotracker-interfaces)
find_package(Boost REQUIRED system filesystem chrono timer)
target_link_libraries(${target}
${Boost_FILESYSTEM_LIBRARY}
${Boost_SYSTEM_LIBRARY}
${Boost_CHRONO_LIBRARY}
${Boost_TIMER_LIBRARY}
)
find_package(Boost REQUIRED COMPONENTS system filesystem chrono timer)
target_link_libraries(${target} Boost::headers Boost::system Boost::filesystem Boost::chrono Boost::timer)
install(
TARGETS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment