diff --git a/CMakeLists.txt b/CMakeLists.txt index c5d2d8d80..849f8b7c2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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")