summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDomen Vrankar <domen.vrankar@gmail.com>2016-11-27 14:33:17 (GMT)
committerDomen Vrankar <domen.vrankar@gmail.com>2016-11-27 22:20:35 (GMT)
commit181e9bb6128c9ad4043c41ef270c79318146e1ad (patch)
treef5873eda8f588a5079bfea51b6201a36cd875abd
parentb687d2ba093b1b79e9faf09e45d11567b0ec9ac1 (diff)
downloadCMake-181e9bb6128c9ad4043c41ef270c79318146e1ad.zip
CMake-181e9bb6128c9ad4043c41ef270c79318146e1ad.tar.gz
CMake-181e9bb6128c9ad4043c41ef270c79318146e1ad.tar.bz2
Tests: CPack test long_filenames prerequirements
Fakeroot executable is already searched for in DEB packager tests prerequirements so the test prerequirement just has to check that it is present in config file and not search for it once more.
-rw-r--r--Tests/RunCMake/CPack/tests/LONG_FILENAMES/DEB-Prerequirements.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/RunCMake/CPack/tests/LONG_FILENAMES/DEB-Prerequirements.cmake b/Tests/RunCMake/CPack/tests/LONG_FILENAMES/DEB-Prerequirements.cmake
index 0c1d77e..ddd16e5 100644
--- a/Tests/RunCMake/CPack/tests/LONG_FILENAMES/DEB-Prerequirements.cmake
+++ b/Tests/RunCMake/CPack/tests/LONG_FILENAMES/DEB-Prerequirements.cmake
@@ -1,5 +1,5 @@
-function(get_test_prerequirements found_var)
- find_program(FAKEROOT_EXECUTABLE NAMES fakeroot)
+function(get_test_prerequirements found_var config_file)
+ include(${config_file})
if(FAKEROOT_EXECUTABLE)
set(${found_var} true PARENT_SCOPE)