summaryrefslogtreecommitdiffstats
path: root/konq-plugins/fsview/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'konq-plugins/fsview/CMakeLists.txt')
-rw-r--r--konq-plugins/fsview/CMakeLists.txt20
1 files changed, 9 insertions, 11 deletions
diff --git a/konq-plugins/fsview/CMakeLists.txt b/konq-plugins/fsview/CMakeLists.txt
index 87350b6..82f6a55 100644
--- a/konq-plugins/fsview/CMakeLists.txt
+++ b/konq-plugins/fsview/CMakeLists.txt
@@ -40,19 +40,17 @@ tde_add_executable( fsview AUTOMOC
##### scantest (test) ###########################
-# FIXME: replace this after adding specific tde macro
-if( WITH_TEST )
- tde_add_executable( scantest
- SOURCES scantest.cpp
- LINK tdeio-shared fsview-static )
- set_property( SOURCE scantest.cpp APPEND
- PROPERTY COMPILE_DEFINITIONS
- FSVIEW_SCANTEST_DIRECTORY="${CMAKE_BINARY_DIR}" )
-
- add_test( scantest ${CMAKE_CURRENT_BINARY_DIR}/scantest )
-endif( WITH_TEST )
+tde_add_check_executable( scantest
+ SOURCES scantest.cpp
+ LINK tdeio-shared fsview-static
+ TEST
+)
+set_property( SOURCE scantest.cpp APPEND
+ PROPERTY COMPILE_DEFINITIONS
+ FSVIEW_SCANTEST_DIRECTORY="${CMAKE_BINARY_DIR}"
+)
##### libfsviewpart (kpart) #####################