diff options
author | Brad King <brad.king@kitware.com> | 2017-04-18 19:12:22 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-04-18 19:12:22 (GMT) |
commit | 9e338b57b7a7094b150e10512e6fd758e19eac8c (patch) | |
tree | a60a69982ebd527b1947dcac13b97efb118cb5c9 /Tests/CMakeTestAllGenerators/RunCMake.cmake | |
parent | 2790ffc96f4e52017718bd1ce3fe1ef70ccae2d2 (diff) | |
download | CMake-9e338b57b7a7094b150e10512e6fd758e19eac8c.zip CMake-9e338b57b7a7094b150e10512e6fd758e19eac8c.tar.gz CMake-9e338b57b7a7094b150e10512e6fd758e19eac8c.tar.bz2 |
Tests: Drop machine-specific logic from CMakeTestAllGenerators
Drop hard-coded paths from this test. If we later need machine-specific
environment entries we can add dedicated infrastructure for it to be
configured locally.
Diffstat (limited to 'Tests/CMakeTestAllGenerators/RunCMake.cmake')
-rw-r--r-- | Tests/CMakeTestAllGenerators/RunCMake.cmake | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/Tests/CMakeTestAllGenerators/RunCMake.cmake b/Tests/CMakeTestAllGenerators/RunCMake.cmake index 768c689..bfbb3a5 100644 --- a/Tests/CMakeTestAllGenerators/RunCMake.cmake +++ b/Tests/CMakeTestAllGenerators/RunCMake.cmake @@ -41,28 +41,6 @@ message(STATUS "CTEST_FULL_OUTPUT (Avoid ctest truncation of output)") message(STATUS "CMake generators='${generators}'") -# If we'll be testing any of the MinGW Makefiles generators, adjust the -# ENV{PATH} to make sure libgmp-10.dll can be loaded as needed. But only if -# the testing machine has a default MinGW install... (If you have a -# non-default install, append to the PATH before running the test...) -# -if(generators MATCHES "MinGW Makefiles") - if(EXISTS "C:/MinGW/bin/libgmp-10.dll") - string(TOLOWER "$ENV{PATH}" path) - if(NOT path MATCHES "/mingw/bin") - if(UNIX) - set(sep ":") - set(mingw_bin "/mingw/bin") - else() - set(sep ";") - set(mingw_bin "C:/MinGW/bin") - endif() - set(ENV{PATH} "$ENV{PATH}${sep}${mingw_bin}") - message(STATUS "info: appending '${sep}${mingw_bin}' to the PATH") - endif() - endif() -endif() - # First setup a source tree to run CMake on. # execute_process(COMMAND ${CMAKE_COMMAND} -E copy_directory |