We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc35e5b commit 9a6722eCopy full SHA for 9a6722e
CMakeLists.txt
@@ -7,6 +7,16 @@ include(cmake/shaders.cmake)
7
set(CMAKE_CXX_STANDARD 20)
8
set(CXX_STANDARD_REQUIRED ON)
9
10
+# There is currently an issue with the comparison operators in nlohmann json
11
+# https://github.com/nlohmann/json/issues/3868
12
+# https://github.com/nlohmann/json/issues/3979
13
+add_compile_definitions(JSON_HAS_THREE_WAY_COMPARISON=0)
14
+
15
+# shaderc defaults to the static runtime on MSVC
16
+if (MSVC)
17
+ set(SHADERC_ENABLE_SHARED_CRT ON)
18
+endif (MVSC)
19
20
CPMAddPackage("gh:liblava/liblava#0.7.3")
21
CPMAddPackage("gh:soehrl/cpp-sync#feature/rename-namespace")
22
CPMAddPackage(NAME colormap GIT_REPOSITORY https://github.com/kbinani/colormap-shaders GIT_TAG master DOWNLOAD_ONLY YES)
0 commit comments