Browse Source

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

Generate RPM specfile only when targeting Linux platform.

See merge request BC/public/bcg729!1
keep-around/dc83e301261f02f0b5f3ebe441099dbd5f241f0d
Ghislain MARY 7 years ago
parent
commit
dc83e30126
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      build/CMakeLists.txt

+ 3
- 1
build/CMakeLists.txt View File

@ -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)

Loading…
Cancel
Save