mirror of
https://github.com/mozilla/cubeb
synced 2024-11-21 06:26:10 -07:00
Added USE_STATIC_MSVC_RUNTIME
cmake option
Some checks are pending
Build / build (macos-13, Debug) (push) Waiting to run
Build / build (macos-13, Release) (push) Waiting to run
Build / build (macos-14, Debug) (push) Waiting to run
Build / build (macos-14, Release) (push) Waiting to run
Build / build (ubuntu-20.04, Debug) (push) Waiting to run
Build / build (ubuntu-20.04, Release) (push) Waiting to run
Build / build (windows-2019, Debug) (push) Waiting to run
Build / build (windows-2019, Release) (push) Waiting to run
Build / build-android (arm64-v8a, Debug) (push) Waiting to run
Build / build-android (arm64-v8a, Release) (push) Waiting to run
Build / build-android (armeabi-v7a, Debug) (push) Waiting to run
Build / build-android (armeabi-v7a, Release) (push) Waiting to run
Build / build-android (x86_64, Debug) (push) Waiting to run
Build / build-android (x86_64, Release) (push) Waiting to run
Build / check_format (push) Waiting to run
Some checks are pending
Build / build (macos-13, Debug) (push) Waiting to run
Build / build (macos-13, Release) (push) Waiting to run
Build / build (macos-14, Debug) (push) Waiting to run
Build / build (macos-14, Release) (push) Waiting to run
Build / build (ubuntu-20.04, Debug) (push) Waiting to run
Build / build (ubuntu-20.04, Release) (push) Waiting to run
Build / build (windows-2019, Debug) (push) Waiting to run
Build / build (windows-2019, Release) (push) Waiting to run
Build / build-android (arm64-v8a, Debug) (push) Waiting to run
Build / build-android (arm64-v8a, Release) (push) Waiting to run
Build / build-android (armeabi-v7a, Debug) (push) Waiting to run
Build / build-android (armeabi-v7a, Release) (push) Waiting to run
Build / build-android (x86_64, Debug) (push) Waiting to run
Build / build-android (x86_64, Release) (push) Waiting to run
Build / check_format (push) Waiting to run
This commit is contained in:
parent
0426c8532a
commit
d504c22284
1 changed files with 4 additions and 2 deletions
|
@ -13,8 +13,10 @@ option(BUILD_TOOLS "Build tools" ON)
|
|||
option(BUNDLE_SPEEX "Bundle the speex library" OFF)
|
||||
option(LAZY_LOAD_LIBS "Lazily load shared libraries" ON)
|
||||
option(USE_SANITIZERS "Use sanitizers" ON)
|
||||
# Set debugging for runtime libraries if requested.
|
||||
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
|
||||
option(USE_STATIC_MSVC_RUNTIME "Use /MT instead of /MD in MSVC" OFF)
|
||||
if(USE_STATIC_MSVC_RUNTIME)
|
||||
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
|
||||
endif()
|
||||
|
||||
if(NOT CMAKE_BUILD_TYPE)
|
||||
set(CMAKE_BUILD_TYPE "RelWithDebInfo" CACHE STRING
|
||||
|
|
Loading…
Reference in a new issue