UCRT64 C++15 workaround (closes #753)
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
if (WIN32)
|
||||
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
|
||||
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 15.0)
|
||||
add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-Wno-template-body>) # Workaround for WinRT headers
|
||||
endif()
|
||||
endif()
|
||||
elseif (APPLE)
|
||||
elseif (UNIX)
|
||||
include(GNUInstallDirs)
|
||||
|
||||
Reference in New Issue
Block a user