Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Commit 5fe62b1

Browse files
simplify boost targets handling
1 parent 07d1fbe commit 5fe62b1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

CMakeLists.txt

+1-4
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,7 @@ else()
5353
target_architecture(CMAKE_TARGET_ARCHITECTURE)
5454
endif()
5555

56-
find_package(Boost REQUIRED COMPONENTS container random filesystem log log_setup program_options thread system)
57-
if(CMAKE_ENABLE_TESTS)
58-
find_package(Boost REQUIRED COMPONENTS unit_test_framework timer)
59-
endif()
56+
find_package(Boost REQUIRED COMPONENTS container random filesystem log log_setup program_options thread system unit_test_framework timer)
6057

6158
add_subdirectories("${CMAKE_CURRENT_LIST_DIR}/libs/")
6259
add_subdirectories("${CMAKE_CURRENT_LIST_DIR}/libs/marshalling")

0 commit comments

Comments
 (0)