From 0dbbd0b69fa32e733d6a4e845e1a1e368b57844b Mon Sep 17 00:00:00 2001 From: ivan-aksamentov Date: Fri, 5 Feb 2021 19:30:40 +0100 Subject: [PATCH] chore: add missing dependency --- packages/nextalign_cli/CMakeLists.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/nextalign_cli/CMakeLists.txt b/packages/nextalign_cli/CMakeLists.txt index 9385c8ce5..30e21e0d9 100644 --- a/packages/nextalign_cli/CMakeLists.txt +++ b/packages/nextalign_cli/CMakeLists.txt @@ -13,9 +13,10 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON) set(CMAKE_INSTALL_MESSAGE LAZY) find_package(Boost 1.75.0 COMPONENTS headers REQUIRED) +find_package(TBB REQUIRED) find_package(cxxopts 2.2.1 REQUIRED) find_package(fmt 7.1.0 REQUIRED) -find_package(TBB REQUIRED) +find_package(ghcFilesystem 1.4.0 REQUIRED) if (${NEXTALIGN_STATIC_BUILD} AND NOT APPLE) if (MINGW) @@ -65,11 +66,12 @@ target_include_directories(${PROJECT_NAME} SYSTEM target_link_libraries(${PROJECT_NAME} PRIVATE + nextalign Boost::headers + TBB::tbb cxxopts::cxxopts fmt::fmt - nextalign - TBB::tbb + ghcFilesystem::ghc_filesystem ${STATIC_BUILD_FLAGS} )