mirror of
https://github.com/sarah-walker-pcem/pcem.git
synced 2025-07-22 19:30:33 +02:00
My brain was on airplane mode. I used a MSVC command option, not Clang, fixed.
This commit is contained in:
@@ -77,6 +77,6 @@ add_executable(pcem ${PCEM_SRC} ${PCEM_PRIVATE_API} ${PCEM_EMBEDDED_PLUGIN_API})
|
||||
target_compile_definitions(pcem PUBLIC ${PCEM_DEFINES})
|
||||
target_compile_options(pcem PUBLIC $<$<COMPILE_LANGUAGE:CXX>:-fcommon> $<$<COMPILE_LANGUAGE:C>:-fcommon>)
|
||||
if(${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
|
||||
target_link_options(pcem PRIVATE "/SUBSYSTEM:WINDOWS")
|
||||
target_link_options(pcem PRIVATE "-Wl,--subsystem,windows")
|
||||
endif()
|
||||
target_link_libraries(pcem ${PCEM_LIBRARIES})
|
||||
|
Reference in New Issue
Block a user