mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-26 14:56:55 +00:00
[soxr] Set Cmake options through portfile.cmake rather than a patch.
This commit is contained in:
parent
f362309178
commit
60b96c3d0c
@ -1,25 +0,0 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -40,10 +40,10 @@
|
||||
"Build type, one of: None Debug Release RelWithDebInfo MinSizeRel." FORCE)
|
||||
endif ()
|
||||
|
||||
-option (BUILD_TESTS "Build sanity-tests." ON)
|
||||
+option (BUILD_TESTS "Build sanity-tests." OFF)
|
||||
option (BUILD_EXAMPLES "Build examples." OFF)
|
||||
-option (WITH_OPENMP "Include OpenMP threading." ON)
|
||||
-option (WITH_LSR_BINDINGS "Include a `libsamplerate'-like interface." ON)
|
||||
+option (WITH_OPENMP "Include OpenMP threading." OFF)
|
||||
+option (WITH_LSR_BINDINGS "Include a `libsamplerate'-like interface." OFF)
|
||||
|
||||
cmake_dependent_option (BUILD_SHARED_LIBS
|
||||
"Build shared (dynamic) soxr libraries." ON
|
||||
@@ -75,7 +75,7 @@
|
||||
option (WITH_HI_PREC_CLOCK "Enable high-precision time-base." ON)
|
||||
option (WITH_FLOAT_STD_PREC_CLOCK
|
||||
"Use floating-point for standard-precision time-base." OFF)
|
||||
-option (WITH_DEV_TRACE "Enable developer trace capability." ON)
|
||||
+option (WITH_DEV_TRACE "Enable developer trace capability." OFF)
|
||||
option (WITH_DEV_GPROF "Enable developer grpof output." OFF)
|
||||
mark_as_advanced (WITH_HI_PREC_CLOCK WITH_FLOAT_STD_PREC_CLOCK
|
||||
WITH_DEV_TRACE WITH_DEV_GPROF)
|
@ -28,7 +28,6 @@ vcpkg_extract_source_archive_ex(
|
||||
# PATCHES
|
||||
# 001_port_fixes.patch
|
||||
# 002_more_port_fixes.patch
|
||||
disable_cmake_settings.patch
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
@ -37,9 +36,9 @@ vcpkg_configure_cmake(
|
||||
# OPTIONS -DUSE_THIS_IN_ALL_BUILDS=1 -DUSE_THIS_TOO=2
|
||||
# OPTIONS_RELEASE -DOPTIMIZE=1
|
||||
# OPTIONS_DEBUG -DDEBUGGABLE=1
|
||||
OPTIONS -DBUILD_TESTS=OFF -DWITH_OPENMP=OFF -DWITH_LSR_BINDINGS=OFF
|
||||
)
|
||||
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
||||
# Handle copyright
|
||||
|
Loading…
x
Reference in New Issue
Block a user