summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/find_program/DirsPerName.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/find_program/DirsPerName.cmake')
-rw-r--r--Tests/RunCMake/find_program/DirsPerName.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/find_program/DirsPerName.cmake b/Tests/RunCMake/find_program/DirsPerName.cmake
new file mode 100644
index 0000000..54db6dd
--- /dev/null
+++ b/Tests/RunCMake/find_program/DirsPerName.cmake
@@ -0,0 +1,6 @@
+find_program(PROG
+ NAMES testB testA
+ PATHS ${CMAKE_CURRENT_SOURCE_DIR}/A ${CMAKE_CURRENT_SOURCE_DIR}/B
+ NO_DEFAULT_PATH
+ )
+message(STATUS "PROG='${PROG}'")