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 f2d010d commit 8a0b97eCopy full SHA for 8a0b97e
cmake/prebuild.cmake
@@ -99,7 +99,6 @@ if (${COMPILER_ID} STREQUAL "GNU")
99
endif ()
100
101
string(TOUPPER ${ARCH} UC_ARCH)
102
-
103
file(WRITE ${TARGET_CONF_TEMP}
104
"#define OS_${HOST_OS}\t1\n"
105
"#define ARCH_${UC_ARCH}\t1\n"
@@ -111,6 +110,10 @@ if (${HOST_OS} STREQUAL "WINDOWSSTORE")
111
110
file(APPEND ${TARGET_CONF_TEMP}
112
"#define OS_WINNT\t1\n")
113
+if (${HOST_OS} STREQUAL CYGWIN)
114
+ file(APPEND ${TARGET_CONF_TEMP}
115
+ "#define OS_CYGWIN_NT\t1\n")
116
+endif ()
117
118
# f_check
119
if (NOT NOFORTRAN)
0 commit comments