Skip to content
Snippets Groups Projects
Verified Commit eb6c1276 authored by Tobias Frisch's avatar Tobias Frisch
Browse files

[#96] Added warning to MinGW in CMake

parent 5a42edf7
No related branches found
No related tags found
1 merge request!97Resolve "Dokumentation vervollständigen"
Pipeline #27540 passed
...@@ -16,6 +16,8 @@ message("-- Compiler: [ " ${CMAKE_CXX_COMPILER_ID} " " ${CMAKE_CXX_COMPILER_VERS ...@@ -16,6 +16,8 @@ message("-- Compiler: [ " ${CMAKE_CXX_COMPILER_ID} " " ${CMAKE_CXX_COMPILER_VERS
if ((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") AND (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "9.0.0")) if ((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") AND (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "9.0.0"))
message(FATAL_ERROR "Upgrade your compiler! GCC 9.0+ is required!") message(FATAL_ERROR "Upgrade your compiler! GCC 9.0+ is required!")
elseif(MINGW)
message(WARNING "MinGW is impressively unstable! So beware it may not compile or crash during runtime!")
endif() endif()
# setting up different paths # setting up different paths
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment