fix WITH_OGG resulting in dynamic link
This commit is contained in:
parent
529105d845
commit
6738fbdbe4
2 changed files with 4 additions and 2 deletions
|
|
@ -321,6 +321,8 @@ if (USE_SNDFILE)
|
|||
set(OPUS_LIBRARY opus CACHE STRING "Opus library" FORCE)
|
||||
add_subdirectory(extern/libogg EXCLUDE_FROM_ALL)
|
||||
add_subdirectory(extern/libvorbis EXCLUDE_FROM_ALL)
|
||||
set(WITH_FORTIFY_SOURCE OFF CACHE BOOL "Enable Fortify Source" FORCE)
|
||||
set(WITH_STACK_PROTECTOR OFF CACHE BOOL "Enable Fortify Source" FORCE)
|
||||
add_subdirectory(extern/flac EXCLUDE_FROM_ALL)
|
||||
endif()
|
||||
|
||||
|
|
|
|||
4
extern/flac/CMakeLists.txt
vendored
4
extern/flac/CMakeLists.txt
vendored
|
|
@ -14,8 +14,8 @@ option(BUILD_PROGRAMS "Build and install programs" OFF)
|
|||
option(BUILD_EXAMPLES "Build and install examples" OFF)
|
||||
option(BUILD_TESTING "Build tests" OFF)
|
||||
option(BUILD_DOCS "Build and install doxygen documents" OFF)
|
||||
option(WITH_FORTIFY_SOURCE "Enable protection against buffer overflows" ON)
|
||||
option(WITH_STACK_PROTECTOR "Enable GNU GCC stack smash protection" ON)
|
||||
option(WITH_FORTIFY_SOURCE "Enable protection against buffer overflows" OFF)
|
||||
option(WITH_STACK_PROTECTOR "Enable GNU GCC stack smash protection" OFF)
|
||||
option(INSTALL_MANPAGES "Install MAN pages" OFF)
|
||||
option(INSTALL_PKGCONFIG_MODULES "Install PkgConfig modules" OFF)
|
||||
option(INSTALL_CMAKE_CONFIG_MODULE "Install CMake package-config module" OFF)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue