We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2084cc commit 36974e8Copy full SHA for 36974e8
CMakeLists.txt
@@ -65,6 +65,14 @@ if(NOT DEFINED CMAKE_CXX_STANDARD)
65
set(CMAKE_CXX_STANDARD_REQUIRED ON)
66
endif()
67
68
+if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
69
+ if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 9.0)
70
+ message(FATAL_ERROR "GCC version must be at least 9.0. Found ${CMAKE_CXX_COMPILER_VERSION}")
71
+ endif()
72
+else()
73
+ message(WARNING "You are not using GCC. Currenlty, we only officially support GCC.")
74
+endif()
75
+
76
# Find Python
77
find_package(Python3 COMPONENTS Interpreter Development NumPy REQUIRED)
78
file(APPEND ${XMIPP_VERSIONS_FILE} "Python3=${Python3_VERSION}\n")
0 commit comments