diff options
author | Brad King <brad.king@kitware.com> | 2015-02-23 15:26:46 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-02-23 15:26:46 (GMT) |
commit | 67fa9462adbad2b90b13ba942f2a71c0ea7674c1 (patch) | |
tree | dacc7d05bb8b0036b8a6bcbb6d72dd6975500a32 | |
parent | 6dc9a627b635617870945677b4868e212f4184ed (diff) | |
parent | 8c0474cd2c0b3ad589950bc60d9af22f26111717 (diff) | |
download | CMake-67fa9462adbad2b90b13ba942f2a71c0ea7674c1.zip CMake-67fa9462adbad2b90b13ba942f2a71c0ea7674c1.tar.gz CMake-67fa9462adbad2b90b13ba942f2a71c0ea7674c1.tar.bz2 |
Merge topic 'rpm_run_tests_on_other_platforms'
8c0474cd CPackRPM: run tests on more platforms than just Linux
-rw-r--r-- | Tests/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index cb45e79..4d3aeaf 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -104,7 +104,7 @@ if(BUILD_TESTING) # Look for rpmbuild to use for tests. # The tool does not work with spaces in the path. - if (CMAKE_SYSTEM_NAME MATCHES "Linux" AND NOT CMAKE_CURRENT_BINARY_DIR MATCHES " ") + if(NOT CMAKE_CURRENT_BINARY_DIR MATCHES " ") find_program(RPMBUILD_EXECUTABLE NAMES rpmbuild) else() set(RPMBUILD_EXECUTABLE "RPMBUILD_EXECUTABLE-NOTFOUND") |