diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-12-09 17:17:10 -0800 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-12-09 17:17:10 -0800 |
| commit | 5a8e2d9a8e2c7bef80a59d420a081c04b833095c (patch) | |
| tree | c8b8660560d2c9d41e79abf5137b6271a7899252 | |
| parent | 9f0d33b6ad3af842b133aafa8be1bbf63e08201d (diff) | |
| download | vcpkg-5a8e2d9a8e2c7bef80a59d420a081c04b833095c.tar.gz vcpkg-5a8e2d9a8e2c7bef80a59d420a081c04b833095c.zip | |
[speex] Fix regression for release mode import library
| -rw-r--r-- | ports/speex/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | ports/speex/CONTROL | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/ports/speex/CMakeLists.txt b/ports/speex/CMakeLists.txt index 915b08226..c5c651edf 100644 --- a/ports/speex/CMakeLists.txt +++ b/ports/speex/CMakeLists.txt @@ -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" diff --git a/ports/speex/CONTROL b/ports/speex/CONTROL index 00910a596..e66d3445a 100644 --- a/ports/speex/CONTROL +++ b/ports/speex/CONTROL @@ -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. |
