aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/KDE4Macros.cmake21
1 files changed, 12 insertions, 9 deletions
diff --git a/modules/KDE4Macros.cmake b/modules/KDE4Macros.cmake
index 7343e276..7bcf38fa 100644
--- a/modules/KDE4Macros.cmake
+++ b/modules/KDE4Macros.cmake
@@ -673,20 +673,22 @@ endmacro (KDE4_ADD_KDEINIT_EXECUTABLE)
macro (KDE4_ADD_TEST _target_NAME)
- MATH(EXPR cmake_version "${CMAKE_MAJOR_VERSION} * 10000 + ${CMAKE_MINOR_VERSION} * 100 + ${CMAKE_PATCH_VERSION}")
+ message(STATUS "temporarily compiling test ${_target_NAME} unconditionally, will be fixed soon")
+
+ math(EXPR cmake_version "${CMAKE_MAJOR_VERSION} * 10000 + ${CMAKE_MINOR_VERSION} * 100 + ${CMAKE_PATCH_VERSION}")
set(_add_executable_param)
- set(_go)
- if (KDE4_BUILD_TESTS)
- set(_go TRUE)
- else (KDE4_BUILD_TESTS)
+# set(_go)
+# if (KDE4_BUILD_TESTS)
+# set(_go TRUE)
+# else (KDE4_BUILD_TESTS)
if (cmake_version GREATER 20403)
- set(_go TRUE)
+# set(_go TRUE)
set(_add_executable_param EXCLUDE_FROM_ALL)
endif (cmake_version GREATER 20403)
- endif (KDE4_BUILD_TESTS)
+# endif (KDE4_BUILD_TESTS)
- if (_go)
+# if (_go)
kde4_get_automoc_files(_automoc_FILES ${ARGN})
add_executable(${_target_NAME} ${_add_executable_param} ${ARGN} ${_automoc_FILES})
@@ -701,7 +703,8 @@ macro (KDE4_ADD_TEST _target_NAME)
target_link_libraries(${_target_NAME} ${QT_QTMAIN_LIBRARY})
endif (WIN32)
- endif (_go)
+# endif (_go)
+
endmacro (KDE4_ADD_TEST)