Merge topic 'cpack-rpm-test-source-newline'
af35ddc8
Tests: Add newline to RunCMake.CPack_RPM SOURCE_PACKAGE case
This commit is contained in:
commit
11c5871c1c
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue