From ec7c37dbf73fb78025295931151871e1414bb35a Mon Sep 17 00:00:00 2001 From: maier Date: Tue, 5 Mar 2013 23:54:44 +0000 Subject: [PATCH] Cleanup git-svn-id: https://svn.dealii.org/branches/branch_cmake@28743 0785d39b-7218-0410-832d-ea1e28bc413d --- .../checks/check_01_system_features.cmake | 22 ++++++++----------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/deal.II/cmake/checks/check_01_system_features.cmake b/deal.II/cmake/checks/check_01_system_features.cmake index ac792086aa..fbf0412387 100644 --- a/deal.II/cmake/checks/check_01_system_features.cmake +++ b/deal.II/cmake/checks/check_01_system_features.cmake @@ -81,6 +81,15 @@ IF(CMAKE_SYSTEM_NAME MATCHES "Windows") # SET(DEAL_II_MSVC TRUE) + + # + # Disable shared libraries on native Windows targets for the moment. + # + MESSAGE(WARNING "\n" + "BUILD_SHARED_LIBS forced to OFF\n\n" + ) + SET(BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE) + # # Disable -ggdb and -g on Windows/MinGW targets for the moment until the # compilation issues with too big files are resolved @@ -93,16 +102,3 @@ IF(CMAKE_SYSTEM_NAME MATCHES "Windows") STRIP_FLAG(DEAL_II_SHARED_LINKER_FLAGS_DEBUG "-g") ENDIF() - -# -# Disable shared libraries on native Windows targets for the moment. -# -# - Matthias Maier, 2013 -# -IF(CMAKE_SYSTEM_NAME MATCHES "Windows") - MESSAGE(WARNING "\n" - "BUILD_SHARED_LIBS forced to OFF\n\n" - ) - SET(BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE) -ENDIF() - -- 2.39.5