File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,6 @@ if (${COMPILER_ID} STREQUAL "GNU")
9999endif ()
100100
101101string (TOUPPER ${ARCH} UC_ARCH)
102-
103102file (WRITE ${TARGET_CONF_TEMP}
104103 "#define OS_${HOST_OS} \t 1\n "
105104 "#define ARCH_${UC_ARCH} \t 1\n "
@@ -111,6 +110,10 @@ if (${HOST_OS} STREQUAL "WINDOWSSTORE")
111110 file (APPEND ${TARGET_CONF_TEMP}
112111 "#define OS_WINNT\t 1\n " )
113112endif ()
113+ if (${HOST_OS} STREQUAL CYGWIN )
114+ file (APPEND ${TARGET_CONF_TEMP}
115+ "#define OS_CYGWIN_NT\t 1\n " )
116+ endif ()
114117
115118# f_check
116119if (NOT NOFORTRAN)
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ if (USE_THREAD)
1313 set (BLAS_SERVER blas_server_omp.c)
1414 elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Windows" )
1515 set (BLAS_SERVER blas_server_win32.c)
16+ elseif (${CMAKE_SYSTEM_NAME} STREQUAL CYGWIN )
17+ set (BLAS_SERVER blas_server_win32.c)
1618 elseif (${CMAKE_SYSTEM_NAME} STREQUAL "WindowsStore" )
1719 set (BLAS_SERVER blas_server_win32.c)
1820 endif ()
You can’t perform that action at this time.
0 commit comments