summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsTools
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2017-12-14 04:01:20 +0000
committerEgor Yusov <egor.yusov@gmail.com>2017-12-14 04:01:20 +0000
commita11be18c81e81210984508f5f86911ef453cbb38 (patch)
treed6d8a40d85962f5e390e6529ae1679bc39955089 /Graphics/GraphicsTools
parentEnabling universal windows platform in cmake (diff)
downloadDiligentCore-a11be18c81e81210984508f5f86911ef453cbb38.tar.gz
DiligentCore-a11be18c81e81210984508f5f86911ef453cbb38.zip
Optimized CMake files with set_common_target_properties()
Diffstat (limited to 'Graphics/GraphicsTools')
-rw-r--r--Graphics/GraphicsTools/CMakeLists.txt10
1 files changed, 1 insertions, 9 deletions
diff --git a/Graphics/GraphicsTools/CMakeLists.txt b/Graphics/GraphicsTools/CMakeLists.txt
index 595b9793..d19498b9 100644
--- a/Graphics/GraphicsTools/CMakeLists.txt
+++ b/Graphics/GraphicsTools/CMakeLists.txt
@@ -50,15 +50,7 @@ PRIVATE
PlatformInterface
)
-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(GraphicsTools PROPERTIES
- STATIC_LIBRARY_FLAGS_RELEASE /LTCG
- STATIC_LIBRARY_FLAGS_MINSIZEREL /LTCG
- STATIC_LIBRARY_FLAGS_RELWITHDEBINFO /LTCG
- )
-endif()
+set_common_target_properties(GraphicsTools)
source_group("src" FILES ${SOURCE})
source_group("include" FILES ${INCLUDE})