diff options
author | Brad King <brad.king@kitware.com> | 2019-03-27 18:20:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-03-27 18:20:53 (GMT) |
commit | 97c163f5f7bd9c056b6ca0dd03f1b239ff61764b (patch) | |
tree | cb77de23ebdd1ee3b893332c51ce417e33dfdd4b /Tests | |
parent | 9cf64bb10141b3ef2453690861277f11e0cdff5f (diff) | |
parent | a3a1e69f8a8e6571bbb8c9257b401f04c22bd1e2 (diff) | |
download | CMake-97c163f5f7bd9c056b6ca0dd03f1b239ff61764b.zip CMake-97c163f5f7bd9c056b6ca0dd03f1b239ff61764b.tar.gz CMake-97c163f5f7bd9c056b6ca0dd03f1b239ff61764b.tar.bz2 |
Merge branch 'FindFontconfig-var-case' into release-3.14
Merge-request: !3153
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/FindFontconfig/Test/CMakeLists.txt | 6 |
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) |