summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/BlueGeneL.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Platform/BlueGeneL.cmake')
-rw-r--r--Modules/Platform/BlueGeneL.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/BlueGeneL.cmake b/Modules/Platform/BlueGeneL.cmake
index a89988a..5d9111b 100644
--- a/Modules/Platform/BlueGeneL.cmake
+++ b/Modules/Platform/BlueGeneL.cmake
@@ -1,5 +1,5 @@
#the compute nodes on BlueGene/L don't support shared libs
-SET(CMAKE_TARGET_SUPPORTS_ONLY_STATIC_LIBS TRUE)
+SET_PROPERTIES(GLOBAL PROPERTIES TARGET_SUPPORTS_SHARED_LIBS FALSE)
SET(CMAKE_SHARED_LIBRARY_C_FLAGS "") # -pic
SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "") # -shared