Browse Source

Generate RPM specfile only when targeting Linux platform.

keep-around/631cecdceb501514f079f90684b56bcdc0c8032c
Ghislain MARY 7 years ago
parent
commit
631cecdceb
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