We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ce7b66 commit 9a082dcCopy full SHA for 9a082dc
1 file changed
CMakeLists.txt
@@ -37,8 +37,11 @@ target_include_directories(
37
38
target_compile_features(simjson_simjson PUBLIC cxx_std_20)
39
40
+if (NOT CMAKE_CXX_SIMULATE_ID)
41
+ set (CMAKE_CXX_SIMULATE_ID "None")
42
+endif()
43
# Для MSVC подключаем natvis файл для красивой отладки
-if(${CMAKE_CXX_COMPILER_ID} STREQUAL MSVC)
44
+if(${CMAKE_CXX_COMPILER_ID} STREQUAL MSVC OR ${CMAKE_CXX_SIMULATE_ID} STREQUAL MSVC)
45
target_link_options(simjson_simjson PUBLIC "/natvis:${CMAKE_CURRENT_SOURCE_DIR}/for_debug/simjson.natvis")
46
endif()
47
@@ -62,7 +65,7 @@ function(add_simstr)
62
65
simstr
63
66
GIT_REPOSITORY https://github.com/orefkov/simstr.git
64
67
GIT_SHALLOW TRUE
- GIT_TAG 1f225a7
68
+ GIT_TAG 4ddb1ae
69
FIND_PACKAGE_ARGS NAMES simstr
70
)
71
FetchContent_MakeAvailable(simstr)
0 commit comments