mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 21:19:00 +08:00
17 lines
496 B
Diff
17 lines
496 B
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index aab915d..4daeb87 100755
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -64,9 +64,9 @@ if(WIN32)
|
||
|
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)
|
||
|
target_link_libraries(${PROJECT_NAME} PRIVATE dl)
|