We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff5d7f0 commit 05af76aCopy full SHA for 05af76a
src/CMakeLists.txt
@@ -77,6 +77,6 @@ add_executable(pcem ${PCEM_SRC} ${PCEM_PRIVATE_API} ${PCEM_EMBEDDED_PLUGIN_API})
77
target_compile_definitions(pcem PUBLIC ${PCEM_DEFINES})
78
target_compile_options(pcem PUBLIC $<$<COMPILE_LANGUAGE:CXX>:-fcommon> $<$<COMPILE_LANGUAGE:C>:-fcommon>)
79
if(${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
80
- target_link_options(pcem PRIVATE "/SUBSYSTEM:WINDOWS")
+ target_link_options(pcem PRIVATE "-Wl,--subsystem,windows")
81
endif()
82
target_link_libraries(pcem ${PCEM_LIBRARIES})
0 commit comments