at 23.11-beta 1.2 kB view raw
1diff --git a/CMakeLists.txt b/CMakeLists.txt 2index ab3884c..9432df7 100644 3--- a/CMakeLists.txt 4+++ b/CMakeLists.txt 5@@ -38,26 +38,17 @@ include(FetchContent) 6 7 FetchContent_Declare( 8 ${TOML++} 9- GIT_REPOSITORY "https://github.com/marzer/tomlplusplus.git" 10- GIT_SHALLOW ON 11- GIT_SUBMODULES "" 12- GIT_TAG "v3.3.0" 13+ DOWNLOAD_COMMAND true 14 ) 15 16 FetchContent_Declare( 17 ${SOL2} 18- GIT_REPOSITORY "https://github.com/ThePhD/sol2.git" 19- GIT_SHALLOW ON 20- GIT_SUBMODULES "" 21- GIT_TAG "v3.3.0" 22+ DOWNLOAD_COMMAND true 23 ) 24 25 FetchContent_Declare( 26 ${MAGIC_ENUM} 27- GIT_REPOSITORY "https://github.com/Neargye/magic_enum.git" 28- GIT_SHALLOW ON 29- GIT_SUBMODULES "" 30- GIT_TAG "v0.8.2" 31+ DOWNLOAD_COMMAND true 32 ) 33 34 FetchContent_GetProperties(${TOML++}) 35@@ -113,7 +104,7 @@ if(NOT LUA_INCLUDE_DIR OR (WIN32 AND NOT LUA_LIBRARIES)) 36 find_package(Lua) 37 endif() 38 39-include_directories(${LUA_INCLUDE_DIR} src src/include ${${TOML++}_SOURCE_DIR} ${${SOL2}_SOURCE_DIR}/include ${${MAGIC_ENUM}_SOURCE_DIR}/include) 40+include_directories(${LUA_INCLUDE_DIR} src src/include TOML_PLUS_PLUS_SRC ${${SOL2}_SOURCE_DIR}/include ${${MAGIC_ENUM}_SOURCE_DIR}/include) 41 42 set(SOURCES 43 src/toml.cpp