Commit 67920534 authored by Ronan's avatar Ronan

Merge branch 'feature/generate-rpm-specfile-only-when-targeting-linux' into 'bc'

Generate RPM specfile only when targeting Linux.

See merge request !1
parents 7cc7b930 b4cd7c7a
......@@ -40,6 +40,8 @@ message("-- Package file name is ${CPACK_PACKAGE_FILE_NAME}")
set(CPACK_SOURCE_PACKAGE_FILE_NAME ${CPACK_PACKAGE_FILE_NAME})
configure_file("rpm/bcmatroska2.spec.cmake" "${PROJECT_SOURCE_DIR}/bcmatroska2.spec" @ONLY)
if(UNIX AND NOT APPLE AND NOT ANDROID)
configure_file("rpm/bcmatroska2.spec.cmake" "${PROJECT_SOURCE_DIR}/bcmatroska2.spec" @ONLY)
endif()
include(CPack)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment