12345678910111213141516 |
- diff --git a/CMakeLists.txt b/CMakeLists.txt
- index 1efecf8..198f429 100755
- --- a/CMakeLists.txt
- +++ b/CMakeLists.txt
- @@ -106,9 +106,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)
- if (NOT ${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
|