Skip to content

Commit

Permalink
simplify boost targets handling
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyMlashkin committed Aug 18, 2024
1 parent 07d1fbe commit 5fe62b1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,7 @@ else()
target_architecture(CMAKE_TARGET_ARCHITECTURE)
endif()

find_package(Boost REQUIRED COMPONENTS container random filesystem log log_setup program_options thread system)
if(CMAKE_ENABLE_TESTS)
find_package(Boost REQUIRED COMPONENTS unit_test_framework timer)
endif()
find_package(Boost REQUIRED COMPONENTS container random filesystem log log_setup program_options thread system unit_test_framework timer)

add_subdirectories("${CMAKE_CURRENT_LIST_DIR}/libs/")
add_subdirectories("${CMAKE_CURRENT_LIST_DIR}/libs/marshalling")
Expand Down

0 comments on commit 5fe62b1

Please sign in to comment.