summaryrefslogtreecommitdiffstats
path: root/Tests/FindFontconfig/CMakeLists.txt
diff options
context:
space:
mode:
authorFrederik Gladhorn <gladhorn@kde.org>2018-09-27 07:42:10 (GMT)
committerFrederik Gladhorn <gladhorn@kde.org>2018-10-18 18:32:09 (GMT)
commit84e7920b3ac9241cf73a468120ff0ea83f9a7c86 (patch)
tree476b19f8e18884a596ff6e97da07ced62fc1efdb /Tests/FindFontconfig/CMakeLists.txt
parent7bacb2295583f1a0e04a7312c370064310b1834b (diff)
downloadCMake-84e7920b3ac9241cf73a468120ff0ea83f9a7c86.zip
CMake-84e7920b3ac9241cf73a468120ff0ea83f9a7c86.tar.gz
CMake-84e7920b3ac9241cf73a468120ff0ea83f9a7c86.tar.bz2
FindFontconfig: Add module to find Fontconfig
This module is inspired by one from KDE's KWin.
Diffstat (limited to 'Tests/FindFontconfig/CMakeLists.txt')
-rw-r--r--Tests/FindFontconfig/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/FindFontconfig/CMakeLists.txt b/Tests/FindFontconfig/CMakeLists.txt
new file mode 100644
index 0000000..d683d87
--- /dev/null
+++ b/Tests/FindFontconfig/CMakeLists.txt
@@ -0,0 +1,10 @@
+add_test(NAME FindFontconfig.Test COMMAND
+ ${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION>
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindFontconfig/Test"
+ "${CMake_BINARY_DIR}/Tests/FindFontconfig/Test"
+ ${build_generator_args}
+ --build-project TestFindFontconfig
+ --build-options ${build_options}
+ --test-command ${CMAKE_CTEST_COMMAND} -V -C $<CONFIGURATION>
+ )