summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-10-13 12:25:58 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-10-13 12:25:58 (GMT)
commit2be36b0ab5efe5775aaaa47d659ec984ed014b8d (patch)
treee8db3be678aa2ef6553577bd8262f5ecc9dd257e /Modules/Platform
parent9d0e556904e476d550b6cacfb4e927d63f1b5a37 (diff)
parentb6a174d2bcd5d64cff7a54a4744fe2b5811d6f9e (diff)
downloadCMake-2be36b0ab5efe5775aaaa47d659ec984ed014b8d.zip
CMake-2be36b0ab5efe5775aaaa47d659ec984ed014b8d.tar.gz
CMake-2be36b0ab5efe5775aaaa47d659ec984ed014b8d.tar.bz2
Merge topic 'remove-obsolete'
b6a174d2 Makefiles: Remove query for CMAKE_OBJECT_NAME d0faa58a Makefiles: Remove forbidden flag logic
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/Darwin.cmake2
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/Platform/Darwin.cmake b/Modules/Platform/Darwin.cmake
index bb085ac..c09bac4 100644
--- a/Modules/Platform/Darwin.cmake
+++ b/Modules/Platform/Darwin.cmake
@@ -105,8 +105,6 @@ if("${_CURRENT_OSX_VERSION}" VERSION_LESS "10.5")
set(CMAKE_LINK_DEPENDENT_LIBRARY_FILES 1)
endif()
-set(CMAKE_C_CREATE_SHARED_LIBRARY_FORBIDDEN_FLAGS -w)
-set(CMAKE_CXX_CREATE_SHARED_LIBRARY_FORBIDDEN_FLAGS -w)
set(CMAKE_C_CREATE_SHARED_LIBRARY
"<CMAKE_C_COMPILER> <LANGUAGE_COMPILE_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> <LINK_FLAGS> -o <TARGET> <SONAME_FLAG> <TARGET_INSTALLNAME_DIR><TARGET_SONAME> <OBJECTS> <LINK_LIBRARIES>")
set(CMAKE_CXX_CREATE_SHARED_LIBRARY