diff options
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/CMakeLists.txt | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/Graphics/GraphicsEngine/CMakeLists.txt b/Graphics/GraphicsEngine/CMakeLists.txt index 350ff53a..afa44fb2 100644 --- a/Graphics/GraphicsEngine/CMakeLists.txt +++ b/Graphics/GraphicsEngine/CMakeLists.txt @@ -55,6 +55,7 @@ set(SOURCE ) add_library(GraphicsEngine STATIC ${SOURCE} ${INTERFACE} ${INCLUDE}) +set_common_target_properties(GraphicsEngine) target_include_directories(GraphicsEngine PUBLIC @@ -72,16 +73,6 @@ PUBLIC Common ) -if(MSVC) - # Enable link-time code generation for release builds (I was not able to - # find any way to set these settings through interface library BuildSettings) - set_target_properties(GraphicsEngine PROPERTIES - STATIC_LIBRARY_FLAGS_RELEASE /LTCG - STATIC_LIBRARY_FLAGS_MINSIZEREL /LTCG - STATIC_LIBRARY_FLAGS_RELWITHDEBINFO /LTCG - ) -endif() - source_group("src" FILES ${SOURCE}) source_group("include" FILES ${INCLUDE}) source_group("interface" FILES ${INTERFACE}) |
