mirror of
https://github.com/pineappleEA/pineapple-src.git
synced 2024-12-04 16:18:26 -05:00
28 lines
756 B
Diff
Executable File
28 lines
756 B
Diff
Executable File
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index d18407c..db19e0b 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -21,8 +21,7 @@ option(RYML_DBG "Enable (very verbose) ryml debug prints." OFF)
|
|
|
|
#-------------------------------------------------------
|
|
|
|
-c4_require_subproject(c4core INCORPORATE
|
|
- SUBDIRECTORY ${RYML_EXT_DIR}/c4core)
|
|
+find_package(c4core CONFIG REQUIRED)
|
|
|
|
c4_add_library(ryml
|
|
SOURCES
|
|
@@ -54,10 +53,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(RYML_WITH_TAB_TOKENS)
|