Skip to content

Commit b35e250

Browse files
committed
Only set -mwindows on mingw, not windows clang
1 parent db6c5d0 commit b35e250

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngscopeclient/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ else()
2222
set(RC_FILES "")
2323
endif()
2424

25-
if(WIN32 AND (NOT MSVC))
25+
if(WIN32 AND MINGW)
2626
add_compile_options(-mwindows)
2727
endif()
2828

0 commit comments

Comments
 (0)