summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-02-23 15:26:30 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-02-23 15:26:30 (GMT)
commit1eb192905d81943073c3cbdd56b665e80e235087 (patch)
tree77b20ff3b32e67fba1aeb335c4acea02045e6e8a /Tests
parent6adff767208c2238efb2649395a76bc2ea78fb08 (diff)
parenta41d621d30f73d4a17e4fd2d3ff30f87f1ed4ccc (diff)
downloadCMake-1eb192905d81943073c3cbdd56b665e80e235087.zip
CMake-1eb192905d81943073c3cbdd56b665e80e235087.tar.gz
CMake-1eb192905d81943073c3cbdd56b665e80e235087.tar.bz2
Merge topic 'private-FindJsonCpp'
a41d621d bootstrap: Add --(no-)system-jsoncpp options a5768442 FindJsonCpp: Drop new module due to upstream jsoncpp providing package
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)