diff --git a/CMakeLists.txt b/CMakeLists.txt index 843df3b..f2a276f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,7 +47,7 @@ add_subdirectory(lib/libclangmm) add_subdirectory(lib/tiny-process-library) set(BUILD_TESTING ${BUILD_TESTING_SAVED} CACHE BOOL "Set to previous value" FORCE) -find_package(Boost 1.54 COMPONENTS system filesystem serialization REQUIRED) +find_package(Boost 1.54 COMPONENTS REQUIRED filesystem serialization) find_package(ASPELL REQUIRED) include(FindPkgConfig) pkg_check_modules(GTKMM gtkmm-3.0 REQUIRED) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f2c9a1b..3259246 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -30,10 +30,11 @@ add_library(juci_shared STATIC ${JUCI_SHARED_FILES}) target_link_libraries(juci_shared ${GTKMM_LIBRARIES} ${GTKSVMM_LIBRARIES} - ${Boost_LIBRARIES} ${LIBLLDB_LIBRARIES} ${ASPELL_LIBRARIES} ${LIBGIT2_LIBRARIES} + Boost::filesystem + Boost::serialization clangmm tiny-process-library )