mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 02:19:03 +08:00
f565807b1b
* remove old port version * fix versions yet again Co-authored-by: Michael Goulding <Michael.Goulding@microsoft.com>
29 lines
762 B
Diff
29 lines
762 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 3e4eb23..115b8aa 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -19,8 +20,7 @@ option(RYML_BUILD_API "Enable API generation (python, etc)" OFF)
|
|
|
|
#-------------------------------------------------------
|
|
|
|
-c4_require_subproject(c4core INCORPORATE
|
|
- SUBDIRECTORY ${RYML_EXT_DIR}/c4core)
|
|
+find_package(c4core CONFIG REQUIRED)
|
|
|
|
c4_add_library(ryml
|
|
SOURCES
|
|
@@ -46,10 +46,10 @@ c4_add_library(ryml
|
|
ryml.natvis
|
|
SOURCE_ROOT ${RYML_SRC_DIR}
|
|
INC_DIRS
|
|
+ $<BUILD_INTERFACE:${C4CORE_INCLUDE_DIR}>
|
|
$<BUILD_INTERFACE:${RYML_SRC_DIR}>
|
|
$<INSTALL_INTERFACE:include>
|
|
- LIBS c4core
|
|
- INCORPORATE c4core
|
|
+ LIBS c4core::c4core
|
|
)
|
|
|
|
if(NOT RYML_DEFAULT_CALLBACKS)
|
|
|