We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81cc0a6 commit 85955ecCopy full SHA for 85955ec
1 file changed
CMakeLists.txt
@@ -42,12 +42,6 @@ if (WIN32)
42
set(SOURCE_FILES ${SOURCE_FILES}
43
src/webview/win32_wv2.cpp
44
)
45
- #if ("${CMAKE_CXX_COMPILER}" STREQUAL "GNU")
46
- message("Adding stdc++ as library")
47
- target_link_libraries(webui stdc++)
48
- #else()
49
- # message("Not a windows GNU target")
50
- #endif()
51
endif()
52
53
if (APPLE)
@@ -76,6 +70,14 @@ endif()
76
70
77
71
if (WIN32)
78
72
target_link_libraries(webui PRIVATE ws2_32 user32 shell32 ole32)
73
+
74
+ #if ("${CMAKE_CXX_COMPILER}" STREQUAL "GNU")
75
+ message("Adding stdc++ as library")
+ target_link_libraries(webui stdc++)
+ #else()
+ # message("Not a windows GNU target")
79
+ #endif()
80
81
elseif (APPLE)
82
# link required frameworks
83
find_library(COCOA_FRAMEWORK Cocoa REQUIRED)
0 commit comments