diff options
Diffstat (limited to 'Tests/RunCMake/find_path/MSYSTEM_PREFIX.cmake')
-rw-r--r-- | Tests/RunCMake/find_path/MSYSTEM_PREFIX.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/find_path/MSYSTEM_PREFIX.cmake b/Tests/RunCMake/find_path/MSYSTEM_PREFIX.cmake new file mode 100644 index 0000000..d17a52f --- /dev/null +++ b/Tests/RunCMake/find_path/MSYSTEM_PREFIX.cmake @@ -0,0 +1,5 @@ +set(ENV{MSYSTEM} "FAKEMSYS") +set(ENV{MSYSTEM_PREFIX} "${CMAKE_CURRENT_LIST_DIR}/MSYSTEM_PREFIX") +enable_language(C) +find_path(MSYSTEM_PREFIX_INCLUDE_DIR NAMES msystem_prefix.h) +message(STATUS "MSYSTEM_PREFIX_INCLUDE_DIR='${MSYSTEM_PREFIX_INCLUDE_DIR}'") |