Merge topic 'cpack-rpm-test-source-newline'

af35ddc8 Tests: Add newline to RunCMake.CPack_RPM SOURCE_PACKAGE case
This commit is contained in:
Brad King 2016-09-29 08:09:30 -04:00 committed by CMake Topic Stage
commit 11c5871c1c
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/main.cpp" file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/main.cpp"
"int main() {return 0;}") "int main() {return 0;}\n")
add_executable(test_prog "${CMAKE_CURRENT_BINARY_DIR}/main.cpp") add_executable(test_prog "${CMAKE_CURRENT_BINARY_DIR}/main.cpp")
install(TARGETS test_prog DESTINATION foo COMPONENT applications) install(TARGETS test_prog DESTINATION foo COMPONENT applications)