summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Generic.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Platform/Generic.cmake')
-rw-r--r--Modules/Platform/Generic.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Generic.cmake b/Modules/Platform/Generic.cmake
index 9c78745..b6629e2 100644
--- a/Modules/Platform/Generic.cmake
+++ b/Modules/Platform/Generic.cmake
@@ -8,5 +8,5 @@
# and/or ${CMAKE_SYSTEM_NAME}-<compiler_basename>-${CMAKE_SYSTEM_PROCESSOR}.cmake
# (embedded) targets without operating system usually don't support shared libraries
-SET(CMAKE_TARGET_SUPPORTS_ONLY_STATIC_LIBS TRUE)
+SET_PROPERTIES(GLOBAL PROPERTIES TARGET_SUPPORTS_SHARED_LIBS FALSE)