summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorNicky <nicky.dasmijn@gmail.com>2022-04-13 19:21:55 +0200
committerNicky <nicky.dasmijn@gmail.com>2022-04-13 19:21:55 +0200
commit241919e7f7986c11586a49bff53cf19c2c0e0ea6 (patch)
treedfd7f4fa971fd77c89eaaa140ba1e53b910b24aa /indra/llcommon
parent2c9ede0ccc3b6a27ca418fcb6e7a91eb87b261e9 (diff)
Rework cmake, the original plan was to maybe be able to use conan targets with the same name (that's why 3ps had names like apr::apr),
but it's safer and saner to put the LL 3ps under the ll:: prefix. This also allows means it is possible to get rid of that bad "if( TRAGET ...) return() endif()" pattern and rather use include_guard().
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/CMakeLists.txt19
1 files changed, 7 insertions, 12 deletions
diff --git a/indra/llcommon/CMakeLists.txt b/indra/llcommon/CMakeLists.txt
index 0fd2581dd4..c934d47cc9 100644
--- a/indra/llcommon/CMakeLists.txt
+++ b/indra/llcommon/CMakeLists.txt
@@ -13,11 +13,6 @@ include(Copy3rdPartyLibs)
include(ZLIBNG)
include(URIPARSER)
-# add_executable(lltreeiterators lltreeiterators.cpp)
-#
-# target_link_libraries(lltreeiterators
-# ${LLCOMMON_LIBRARIES})
-
set(llcommon_SOURCE_FILES
indra_constants.cpp
llallocator.cpp
@@ -279,14 +274,14 @@ endif(LLCOMMON_LINK_SHARED)
target_link_libraries(
llcommon
- apr::apr
- expat::expat
- jsoncpp::jsoncpp
- zlib-ng::zlib-ng
+ ll::apr
+ ll::expat
+ ll::jsoncpp
+ ll::zlib-ng
${WINDOWS_LIBRARIES}
- boost::boost
+ ll::boost
${GOOGLE_PERFTOOLS_LIBRARIES}
- uriparser::uriparser
+ ll::uriparser
)
set_target_include_dirs( llcommon ${CMAKE_CURRENT_SOURCE_DIR})
@@ -310,7 +305,7 @@ if (LL_TESTS)
#set(TEST_DEBUG on)
set(test_libs llcommon
${WINDOWS_LIBRARIES}
- googlemock::googlemock
+ ll::googlemock
)
LL_ADD_INTEGRATION_TEST(bitpack "" "${test_libs}")
LL_ADD_INTEGRATION_TEST(classic_callback "" "${test_libs}")