Unverified Commit 83b14338 authored by Niels Lohmann's avatar Niels Lohmann Committed by GitHub

Merge pull request #1040 from ax3l/topic-debugViewMSVCcmakeMin

CMake: 3.8+ is Sufficient
parents 495436a5 e439a1a9
...@@ -53,8 +53,8 @@ target_include_directories( ...@@ -53,8 +53,8 @@ target_include_directories(
$<INSTALL_INTERFACE:include> $<INSTALL_INTERFACE:include>
) )
## add debug view defintion file for msvc (natvis) [cmake <= 3.2.2 does not support export of source files] ## add debug view defintion file for msvc (natvis)
if (MSVC AND CMAKE_VERSION VERSION_GREATER "3.2.2") if (MSVC)
set(NLOHMANN_ADD_NATVIS TRUE) set(NLOHMANN_ADD_NATVIS TRUE)
set(NLOHMANN_NATVIS_FILE "nlohmann_json.natvis") set(NLOHMANN_NATVIS_FILE "nlohmann_json.natvis")
target_sources( target_sources(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment