summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-11-27 13:44:03 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-11-27 13:44:11 (GMT)
commit4aad340ec446e3def2bda4f2d474ab0cf86e902e (patch)
tree43dc114432a6bd789751eb84793e16db4dc44156 /Tests
parentcee843475d82150cc56d12badd04eb737bff6551 (diff)
parent0369362132b3deae30828299131647cc3754abeb (diff)
downloadCMake-4aad340ec446e3def2bda4f2d474ab0cf86e902e.zip
CMake-4aad340ec446e3def2bda4f2d474ab0cf86e902e.tar.gz
CMake-4aad340ec446e3def2bda4f2d474ab0cf86e902e.tar.bz2
Merge topic 'FindBoost-no-cxx'
0369362132 FindBoost: Restore finding without CXX language enabled Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2663
Diffstat (limited to 'Tests')
-rw-r--r--Tests/RunCMake/FindBoost/NoCXX-stderr.txt1
-rw-r--r--Tests/RunCMake/FindBoost/NoCXX.cmake1
-rw-r--r--Tests/RunCMake/FindBoost/RunCMakeTest.cmake1
3 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/FindBoost/NoCXX-stderr.txt b/Tests/RunCMake/FindBoost/NoCXX-stderr.txt
new file mode 100644
index 0000000..8d98f9d
--- /dev/null
+++ b/Tests/RunCMake/FindBoost/NoCXX-stderr.txt
@@ -0,0 +1 @@
+.*
diff --git a/Tests/RunCMake/FindBoost/NoCXX.cmake b/Tests/RunCMake/FindBoost/NoCXX.cmake
new file mode 100644
index 0000000..04b9cac
--- /dev/null
+++ b/Tests/RunCMake/FindBoost/NoCXX.cmake
@@ -0,0 +1 @@
+find_package(Boost)
diff --git a/Tests/RunCMake/FindBoost/RunCMakeTest.cmake b/Tests/RunCMake/FindBoost/RunCMakeTest.cmake
index a153ae1..5d0577b 100644
--- a/Tests/RunCMake/FindBoost/RunCMakeTest.cmake
+++ b/Tests/RunCMake/FindBoost/RunCMakeTest.cmake
@@ -1,3 +1,4 @@
include(RunCMake)
run_cmake(CMakePackage)
+run_cmake(NoCXX)