Commit dc83e301 authored by Ghislain MARY's avatar Ghislain MARY

Merge branch 'feature/generate-rpm-specfile-only-for-linux' into 'master'

Generate RPM specfile only when targeting Linux platform.

See merge request !1
parents aefc8f63 631cecdc
Pipeline #536 passed with stage
in 0 seconds
......@@ -42,7 +42,9 @@ message("-- Package file name is ${CPACK_PACKAGE_FILE_NAME}" )
set(CPACK_SOURCE_PACKAGE_FILE_NAME ${CPACK_PACKAGE_FILE_NAME})
configure_file("rpm/bcg729.spec.cmake" "${PROJECT_SOURCE_DIR}/bcg729.spec" @ONLY)
if(UNIX AND NOT APPLE AND NOT ANDROID)
configure_file("rpm/bcg729.spec.cmake" "${PROJECT_SOURCE_DIR}/bcg729.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