Fix MAINT-5832 Add /LTCG flag to linker for media_plugin_cef.dll to avoid linker restarts
parent
70c7043bf4
commit
f8050dbac2
|
|
@ -61,7 +61,7 @@ set (media_plugin_cef_LINK_LIBRARIES
|
|||
if (LINUX)
|
||||
message(FATAL_ERROR "CEF plugin has been enabled for a Linux compile.\n"
|
||||
" Please create a volume_catcher implementation for this platform.")
|
||||
|
||||
|
||||
elseif (DARWIN)
|
||||
list(APPEND media_plugin_cef_SOURCE_FILES mac_volume_catcher.cpp)
|
||||
find_library(CORESERVICES_LIBRARY CoreServices)
|
||||
|
|
@ -98,7 +98,7 @@ if (WINDOWS)
|
|||
set_target_properties(
|
||||
media_plugin_cef
|
||||
PROPERTIES
|
||||
LINK_FLAGS "/MANIFEST:NO /SAFESEH:NO /NODEFAULTLIB:LIBCMT"
|
||||
LINK_FLAGS "/MANIFEST:NO /SAFESEH:NO /LTCG /NODEFAULTLIB:LIBCMT"
|
||||
LINK_FLAGS_DEBUG "/MANIFEST:NO /SAFESEH:NO /NODEFAULTLIB:LIBCMTD"
|
||||
)
|
||||
endif (WINDOWS)
|
||||
|
|
|
|||
Loading…
Reference in New Issue