Przeglądaj źródła

Common: Fix non-conan build

Fernando Sahmkow 6 lat temu
rodzic
commit
7b893c7963
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      src/common/CMakeLists.txt

+ 2 - 1
src/common/CMakeLists.txt

@@ -187,6 +187,7 @@ if(ARCHITECTURE_x86_64)
 endif()
 
 create_target_directory_groups(common)
+find_package(Boost 1.71 COMPONENTS context headers REQUIRED)
 
-target_link_libraries(common PUBLIC Boost::boost fmt::fmt microprofile)
+target_link_libraries(common PUBLIC ${Boost_LIBRARIES} fmt::fmt microprofile)
 target_link_libraries(common PRIVATE lz4::lz4 zstd::zstd xbyak)