package An official xmake package repository
https://xrepo.xmake.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
465 B
16 lines
465 B
4 years ago
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -115,9 +115,9 @@
|
||
|
PRIVATE $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/third_party/mman-win32>)
|
||
|
endif (WIN32)
|
||
|
|
||
|
-add_subdirectory(trantor)
|
||
|
+find_package(Trantor CONFIG REQUIRED)
|
||
|
|
||
|
-target_link_libraries(${PROJECT_NAME} PUBLIC trantor)
|
||
|
+target_link_libraries(${PROJECT_NAME} PUBLIC Trantor::Trantor)
|
||
|
|
||
|
if (NOT WIN32)
|
||
|
if (NOT ${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
|