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
No related branches found
No related tags found
No related merge requests found
Pipeline #32497 passed
Pipeline: backgroundsubtraction_tracker

#32500

    Pipeline: biotracker

    #32499

      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