Set embed manifest to false on WIN32 with MSVC

This commit is contained in:
L 2023-02-05 14:02:18 +01:00
parent d8c59163fa
commit 22bcbaeebe

View file

@ -179,6 +179,9 @@ target_include_directories(omohaaded PUBLIC "code/qcommon" "code/script" "code/g
set_target_properties(omohaaded PROPERTIES OUTPUT_NAME "omohaaded${TARGET_BASE_SUFFIX}${TARGET_ARCH_SUFFIX}")
if(WIN32)
if (MSVC)
target_link_options(omohaaded PRIVATE "/MANIFEST:NO")
endif()
target_link_libraries(omohaaded PRIVATE wsock32 ws2_32)
target_link_libraries(omohaaded PRIVATE winmm)
elseif(UNIX)