summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-03-27 18:11:01 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-03-27 18:11:08 (GMT)
commitc03ee3ca714715671ff54cd2f61217b62637ff14 (patch)
tree0c714ccb059b1e360d02f65c00dbf4b796d08fb5 /Tests
parentc126e80b5a7a9cf98ebea7c34a2b5b5f848dfab1 (diff)
parenta3a1e69f8a8e6571bbb8c9257b401f04c22bd1e2 (diff)
downloadCMake-c03ee3ca714715671ff54cd2f61217b62637ff14.zip
CMake-c03ee3ca714715671ff54cd2f61217b62637ff14.tar.gz
CMake-c03ee3ca714715671ff54cd2f61217b62637ff14.tar.bz2
Merge topic 'FindFontconfig-var-case'
a3a1e69f8a FindFontconfig: Convert module variables to camel case Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3153
Diffstat (limited to 'Tests')
-rw-r--r--Tests/FindFontconfig/Test/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/FindFontconfig/Test/CMakeLists.txt b/Tests/FindFontconfig/Test/CMakeLists.txt
index 81db3ba..36c76b1 100644
--- a/Tests/FindFontconfig/Test/CMakeLists.txt
+++ b/Tests/FindFontconfig/Test/CMakeLists.txt
@@ -4,13 +4,13 @@ include(CTest)
find_package(Fontconfig REQUIRED)
-add_definitions(-DCMAKE_EXPECTED_FONTCONFIG_VERSION="${FONTCONFIG_VERSION}")
+add_definitions(-DCMAKE_EXPECTED_FONTCONFIG_VERSION="${Fontconfig_VERSION}")
add_executable(test_tgt main.c)
target_link_libraries(test_tgt Fontconfig::Fontconfig)
add_test(NAME test_tgt COMMAND test_tgt)
add_executable(test_var main.c)
-target_include_directories(test_var PRIVATE ${FONTCONFIG_INCLUDE_DIRS})
-target_link_libraries(test_var PRIVATE ${FONTCONFIG_LIBRARIES})
+target_include_directories(test_var PRIVATE ${Fontconfig_INCLUDE_DIRS})
+target_link_libraries(test_var PRIVATE ${Fontconfig_LIBRARIES})
add_test(NAME test_var COMMAND test_var)