summaryrefslogtreecommitdiffstats
path: root/RenderScript
diff options
context:
space:
mode:
Diffstat (limited to 'RenderScript')
-rw-r--r--RenderScript/CMakeLists.txt11
1 files changed, 1 insertions, 10 deletions
diff --git a/RenderScript/CMakeLists.txt b/RenderScript/CMakeLists.txt
index 762ef92..ca93546 100644
--- a/RenderScript/CMakeLists.txt
+++ b/RenderScript/CMakeLists.txt
@@ -64,6 +64,7 @@ set(SOURCE
)
add_library(RenderScript STATIC ${SOURCE} ${INCLUDE})
+set_common_target_properties(RenderScript)
target_include_directories(RenderScript
PUBLIC
@@ -76,16 +77,6 @@ source_group("include" FILES ${INCLUDE})
target_link_libraries(RenderScript PRIVATE BuildSettings GraphicsEngine Lua Common PlatformInterface GraphicsTools)
-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(RenderScript PROPERTIES
- STATIC_LIBRARY_FLAGS_RELEASE /LTCG
- STATIC_LIBRARY_FLAGS_MINSIZEREL /LTCG
- STATIC_LIBRARY_FLAGS_RELWITHDEBINFO /LTCG
- )
-endif()
-
set_target_properties(RenderScript PROPERTIES
FOLDER Tools
) \ No newline at end of file