biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / lua-modules / toml.patch
blob5f9f57a445db0877c571e4ebbcf9b4bc94f54dcc
1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index ab3884c..9432df7 100644
3 --- a/CMakeLists.txt
4 +++ b/CMakeLists.txt
5 @@ -38,26 +38,17 @@ include(FetchContent)
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
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
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
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()
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)
42 set(SOURCES
43 src/toml.cpp