Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2017-04-28 16:31:23 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2017-04-28 16:31:23 +0300
commit607b5747e7204926edfdd26f7924a4cab8916050 (patch)
tree3b1fa4c2746e52058033008113bb2d1f5a6ce540 /CMakeLists.txt
parent0c1c76b9271e871da673df14fc7a7e2564a71ef6 (diff)
Use cmake namespaced target aliases for indicating dependencies between libraries
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e3c72713..87b9f042 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,7 +21,7 @@ ParseProjectVersionFromHpp("${CMAKE_CURRENT_SOURCE_DIR}/include/boost/afio/versi
# Sets the usual PROJECT_NAME etc
project(afio VERSION ${VERSIONSTRING} LANGUAGES C CXX)
# Also set a *cmake* namespace for this project
-set(PROJECT_NAMESPACE boost--)
+set(PROJECT_NAMESPACE boost::)
# Setup this cmake environment for this project
include(BoostLiteSetupProject)
if(NOT PROJECT_IS_DEPENDENCY)
@@ -62,7 +62,7 @@ if(NOT MSVC OR CMAKE_VERSION VERSION_GREATER 3.59)
)
endif()
# Set the library dependencies this library has
-all_link_libraries(PUBLIC boost-lite_hl outcome_hl kerneltest_hl)
+all_link_libraries(PUBLIC boost-lite::hl boost::outcome::hl boost::kerneltest::hl)
# Set the system dependencies this library has
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
all_link_libraries(PUBLIC stdc++fs rt)