mirror of
https://github.com/cemu-project/vcpkg.git
synced 2024-11-30 06:30:43 +00:00
[speex] Fix regression for release mode import library
This commit is contained in:
parent
9f0d33b6ad
commit
5a8e2d9a8e
@ -16,7 +16,9 @@ include_directories(win32 include)
|
||||
set(CMAKE_DEBUG_POSTFIX d)
|
||||
|
||||
file(READ "win32/libspeex.def" _contents)
|
||||
string(REPLACE "LIBRARY libspeex" "LIBRARY libspeexd" _contents "${_contents}")
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
string(REPLACE "LIBRARY libspeex" "LIBRARY libspeexd" _contents "${_contents}")
|
||||
endif()
|
||||
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/libspeex.def"
|
||||
"${_contents}\n"
|
||||
"speex_nb_mode\n"
|
||||
|
@ -1,3 +1,3 @@
|
||||
Source: speex
|
||||
Version: 1.2.0-2
|
||||
Version: 1.2.0-3
|
||||
Description: Speex is an Open Source/Free Software patent-free audio compression format designed for speech.
|
||||
|
Loading…
Reference in New Issue
Block a user