From 69b0edc1fc3446606645222e793e2e894e6bf2c8 Mon Sep 17 00:00:00 2001 From: maier Date: Wed, 27 Mar 2013 17:11:27 +0000 Subject: [PATCH] CMake: Disable all ENABLE_IF_LINKS checks for now until the macro is properly implemented git-svn-id: https://svn.dealii.org/trunk@29081 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/cmake/setup_compiler_flags_gnu.cmake | 3 ++- deal.II/cmake/setup_compiler_flags_intel.cmake | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/deal.II/cmake/setup_compiler_flags_gnu.cmake b/deal.II/cmake/setup_compiler_flags_gnu.cmake index ae808667e3..365e3d5221 100644 --- a/deal.II/cmake/setup_compiler_flags_gnu.cmake +++ b/deal.II/cmake/setup_compiler_flags_gnu.cmake @@ -58,7 +58,8 @@ ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-fpic") # Check whether the -as-needed flag is available. If so set it to link # the deal.II library with it. # -ENABLE_IF_LINKS(CMAKE_SHARED_LINKER_FLAGS "-Wl,--as-needed") +# TODO: Disabled until ENABLE_IF_LINKS is properly implemented +#ENABLE_IF_LINKS(CMAKE_SHARED_LINKER_FLAGS "-Wl,--as-needed") # diff --git a/deal.II/cmake/setup_compiler_flags_intel.cmake b/deal.II/cmake/setup_compiler_flags_intel.cmake index ac9808b055..1edd5a0ce3 100644 --- a/deal.II/cmake/setup_compiler_flags_intel.cmake +++ b/deal.II/cmake/setup_compiler_flags_intel.cmake @@ -42,7 +42,8 @@ ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-fpic") # Check whether the -as-needed flag is available. If so set it to link # the deal.II library with it. # -ENABLE_IF_LINKS(CMAKE_SHARED_LINKER_FLAGS "-Wl,--as-needed") +# TODO: Disabled until ENABLE_IF_LINKS is properly implemented +#ENABLE_IF_LINKS(CMAKE_SHARED_LINKER_FLAGS "-Wl,--as-needed") # # Set ansi mode: -- 2.39.5