summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-02-20 13:33:03 (GMT)
committerBrad King <brad.king@kitware.com>2015-02-20 13:33:03 (GMT)
commit57d4e1c77684986e26b5ebc6092564fc6cc1c655 (patch)
tree0d8a9d4ca850a84ce01c759239f971f227404691 /Tests
parent20f64bd2dadbfe740e76d627523adf2161a515f3 (diff)
parenta41d621d30f73d4a17e4fd2d3ff30f87f1ed4ccc (diff)
downloadCMake-57d4e1c77684986e26b5ebc6092564fc6cc1c655.zip
CMake-57d4e1c77684986e26b5ebc6092564fc6cc1c655.tar.gz
CMake-57d4e1c77684986e26b5ebc6092564fc6cc1c655.tar.bz2
Merge branch 'private-FindJsonCpp' into release
Diffstat (limited to 'Tests')
-rw-r--r--Tests/FindJsonCpp/Test/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/FindJsonCpp/Test/CMakeLists.txt b/Tests/FindJsonCpp/Test/CMakeLists.txt
index 4e1e271..d1dc647 100644
--- a/Tests/FindJsonCpp/Test/CMakeLists.txt
+++ b/Tests/FindJsonCpp/Test/CMakeLists.txt
@@ -2,6 +2,9 @@ cmake_minimum_required(VERSION 3.1)
project(TestFindJsonCpp CXX)
include(CTest)
+# CMake does not actually provide FindJsonCpp publicly.
+set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../Source/Modules)
+
find_package(JsonCpp REQUIRED)
add_executable(test_jsoncpp_tgt main.cxx)