mirror of
https://github.com/pantor/inja.git
synced 2026-02-17 09:03:58 +00:00
Added a message for MSCV < 2015
This commit is contained in:
@@ -32,6 +32,10 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall --coverage")
|
||||
set(INJA_SOURCE_DIR src)
|
||||
set(INJA_HEADER_INSTALL_DIR include)
|
||||
|
||||
if(WIN32 AND MSVC AND MSVC_VERSION LESS 1900)
|
||||
message(FATAL_ERROR "[${PROJECT_NAME}] Visual Studio versions prior to 2015 do not support the noexcept keyword, which is used in the JSON library.")
|
||||
endif()
|
||||
|
||||
##
|
||||
## TESTS
|
||||
## create and configure the unit test target
|
||||
|
||||
Reference in New Issue
Block a user