message: add compiler & cmake version check
diff: @@ -36,12 +36,17 @@ target_include_directories(
  INTERFACE $<INSTALL_INTERFACE:include/>
  )
  +##
  +## add debug view defintion file for msvc
  +##
  +if (MSVC AND CMAKE_VERSION VERSION_GREATER "3.2.2")
  target_sources(
  ${NLOHMANN_JSON_TARGET_NAME}
  INTERFACE
  $<INSTALL_INTERFACE:include/json.natvis>
  $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/${NLOHMANN_JSON_SOURCE_DIR}/json.natvis>
  )
  +endif()
  ##
  ## TESTS
  