diff options
author | Domen Vrankar <domen.vrankar@gmail.com> | 2016-11-10 23:26:19 (GMT) |
---|---|---|
committer | Domen Vrankar <domen.vrankar@gmail.com> | 2016-11-27 22:20:34 (GMT) |
commit | 70a2bfe97c1b024bff5fa6b6537528457ca5a7f4 (patch) | |
tree | 243295d354765c5e865ed110cc9c57bd8bf37f9d | |
parent | a15f51620ba0142e05cfa6aebd346a5cf76ca302 (diff) | |
download | CMake-70a2bfe97c1b024bff5fa6b6537528457ca5a7f4.zip CMake-70a2bfe97c1b024bff5fa6b6537528457ca5a7f4.tar.gz CMake-70a2bfe97c1b024bff5fa6b6537528457ca5a7f4.tar.bz2 |
Tests: fix CPack test source packages missing generator type
Source packages testing for RunCMake CPack
tests did not provide generator type to
the project built from source package.
-rw-r--r-- | Tests/RunCMake/CPack/CPackTestHelpers.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/CPack/CPackTestHelpers.cmake b/Tests/RunCMake/CPack/CPackTestHelpers.cmake index 7cf44ed..672fff0 100644 --- a/Tests/RunCMake/CPack/CPackTestHelpers.cmake +++ b/Tests/RunCMake/CPack/CPackTestHelpers.cmake @@ -42,7 +42,7 @@ function(run_cpack_test_common_ TEST_NAME types build SUBTEST_SUFFIX source) if(source) set(pack_params_ -G ${TEST_TYPE} --config ./CPackSourceConfig.cmake) FILE(APPEND ${RunCMake_TEST_BINARY_DIR}/CPackSourceConfig.cmake - "\nset(CPACK_RPM_SOURCE_PKG_BUILD_PARAMS \"-DRunCMake_TEST:STRING=${full_test_name_}\ -DRunCMake_TEST_FILE_PREFIX:STRING=${TEST_NAME}\")") + "\nset(CPACK_RPM_SOURCE_PKG_BUILD_PARAMS \"-DRunCMake_TEST:STRING=${full_test_name_}\ -DRunCMake_TEST_FILE_PREFIX:STRING=${TEST_NAME} -DGENERATOR_TYPE=${TEST_TYPE}\")") else() unset(pack_params_) endif() |