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 fa53b90 commit 8a11ec1Copy full SHA for 8a11ec1
cmake/system.cmake
@@ -41,10 +41,12 @@ if (DEFINED BINARY AND DEFINED TARGET AND BINARY EQUAL 32)
41
endif ()
42
43
44
-if (DEFINED TARGET AND ${TARGET} STREQUAL "SKYLAKEX" AND NOT NO_AVX512)
+if (DEFINED TARGET)
45
+if (${TARGET} STREQUAL "SKYLAKEX" AND NOT NO_AVX512)
46
set (CCOMMON_OPT "${CCOMMON_OPT} -march=skylake-avx512")
47
set (FCOMMON_OPT "${FCOMMON_OPT} -march=skylake-avx512")
48
endif()
49
+endif()
50
51
if (DEFINED TARGET)
52
message(STATUS "Targeting the ${TARGET} architecture.")
0 commit comments