summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2017-09-03 22:32:09 +0200
committerAlbert Astals Cid <aacid@kde.org>2017-09-03 22:32:38 +0200
commit5c8dfc90603111aea36add20c88abde79a351d85 (patch)
tree599161f47123d5439e315a1354e8b822a09f637a /test
parent251bb42e9af251c86b8fec120e14972ac7c07106 (diff)
Remove the old if/else cmake syntax
that was weird and forced you to replicate the if clause in the else and endif
Diffstat (limited to 'test')
-rw-r--r--test/CMakeLists.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index a89a4cfb..0d8aa44d 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -10,10 +10,10 @@ if (ENABLE_SPLASH)
target_link_libraries(perf-test poppler)
if (LIB_RT_HAS_NANOSLEEP)
target_link_libraries(perf-test rt)
- endif (LIB_RT_HAS_NANOSLEEP)
- endif (HAVE_NANOSLEEP OR LIB_RT_HAS_NANOSLEEP)
+ endif ()
+ endif ()
-endif (ENABLE_SPLASH)
+endif ()
if (GTK_FOUND)
@@ -38,9 +38,9 @@ if (GTK_FOUND)
poppler_add_test(pdf-inspector BUILD_GTK_TESTS ${pdf_inspector_SRCS})
target_link_libraries(pdf-inspector poppler-glib ${GTK3_LIBRARIES})
- endif (HAVE_CAIRO)
+ endif ()
-endif (GTK_FOUND)
+endif ()
set (pdf_fullrewrite_SRCS
pdf-fullrewrite.cc