summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/find_program/Required.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/find_program/Required.cmake')
-rw-r--r--Tests/RunCMake/find_program/Required.cmake12
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/RunCMake/find_program/Required.cmake b/Tests/RunCMake/find_program/Required.cmake
new file mode 100644
index 0000000..a75aa53
--- /dev/null
+++ b/Tests/RunCMake/find_program/Required.cmake
@@ -0,0 +1,12 @@
+find_program(PROG_A
+ NAMES testA
+ PATHS ${CMAKE_CURRENT_SOURCE_DIR}/A
+ NO_DEFAULT_PATH
+ REQUIRED
+ )
+message(STATUS "PROG_A='${PROG_A}'")
+
+find_program(PROG_AandB
+ NAMES testAandB
+ REQUIRED
+ )