diff options
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/libopusenc/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | ports/libopusenc/CONTROL | 6 | ||||
| -rw-r--r-- | ports/libopusenc/vcpkg.json | 11 |
3 files changed, 14 insertions, 7 deletions
diff --git a/ports/libopusenc/CMakeLists.txt b/ports/libopusenc/CMakeLists.txt index 4ab1a4e9d..442d19a6d 100644 --- a/ports/libopusenc/CMakeLists.txt +++ b/ports/libopusenc/CMakeLists.txt @@ -1,7 +1,9 @@ cmake_minimum_required(VERSION 3.4) project(libopusenc C) -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4267 /wd4244 /wd4996 /wd4101 /wd4018") +if(MSVC) + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4267 /wd4244 /wd4996 /wd4101 /wd4018") +endif() find_path(OPUS_INCLUDE_DIR opus.h PATH_SUFFIXES opus) find_library(OPUS_LIBRARY opus) diff --git a/ports/libopusenc/CONTROL b/ports/libopusenc/CONTROL deleted file mode 100644 index 7e52b1353..000000000 --- a/ports/libopusenc/CONTROL +++ /dev/null @@ -1,6 +0,0 @@ -Source: libopusenc -Version: 0.2.1 -Homepage: https://github.com/xiph/libopusenc -Description: Library for encoding .opus audio files and live streams. -Build-Depends: opus -Supports: !uwp
\ No newline at end of file diff --git a/ports/libopusenc/vcpkg.json b/ports/libopusenc/vcpkg.json new file mode 100644 index 000000000..0ce806c81 --- /dev/null +++ b/ports/libopusenc/vcpkg.json @@ -0,0 +1,11 @@ +{ + "name": "libopusenc", + "version-string": "0.2.1", + "port-version": 1, + "description": "Library for encoding .opus audio files and live streams.", + "homepage": "https://github.com/xiph/libopusenc", + "supports": "!uwp", + "dependencies": [ + "opus" + ] +} |
