aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/FindKDE4Internal.cmake6
1 files changed, 0 insertions, 6 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake
index e629ab05..1d393e4c 100644
--- a/modules/FindKDE4Internal.cmake
+++ b/modules/FindKDE4Internal.cmake
@@ -330,7 +330,6 @@ _set_fancy(DBUS_SERVICES_DIR "${SHARE_INSTALL_PREFIX}/dbus-1/services" "The
option(KDE4_ENABLE_FINAL "Enable final all-in-one compilation")
option(KDE4_BUILD_TESTS "Build the tests")
-option(KDE4_BUILD_TESTREGRESSION "Build KHTML's testregression. Note: this disables hidden visibility")
if( KDE4_ENABLE_FINAL)
add_definitions(-DKDE_USE_FINAL)
@@ -718,11 +717,6 @@ if (CMAKE_COMPILER_IS_GNUCXX)
# visibility support
check_cxx_compiler_flag(-fvisibility=hidden __KDE_HAVE_GCC_VISIBILITY)
- # Disable it if testregression is built..
- if (KDE4_BUILD_TESTREGRESSION)
- set (__KDE_HAVE_GCC_VISIBILITY 0)
- endif (KDE4_BUILD_TESTREGRESSION)
-
# get the gcc version
exec_program(${CMAKE_C_COMPILER} ARGS --version OUTPUT_VARIABLE _gcc_version_info)