Skip to content

Commit 42e0124

Browse files
committed
Trying again to get subsystem correct under clang
1 parent f1e6a1e commit 42e0124

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ngscopeclient/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ endif()
2424

2525
if(WIN32)
2626
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
27-
add_link_options(/SUBSYSTEM:WINDOWS)
27+
add_link_options(-Wl,/SUBSYSTEM:WINDOWS)
2828
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
2929
add_compile_options(-mwindows)
3030
endif()

0 commit comments

Comments
 (0)