Skip to content

Commit e4fb82d

Browse files
committed
Use system name detection for windows since we are not using msvc
1 parent f0911ab commit e4fb82d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ add_subdirectory(game)
2020
add_subdirectory(utils)
2121
add_subdirectory(gui)
2222

23-
if(MSVC)
23+
if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
2424
option(WINFORMS_ENABLED "Enable native Windows interface" ON)
2525
set(COCOA_ENABLED OFF)
2626
set(NCURSES_ENABLED OFF)

0 commit comments

Comments
 (0)