mirror of
https://github.com/ZDoom/ZMusic.git
synced 2024-11-26 22:01:32 +00:00
Allow building with static configurations
This commit is contained in:
parent
a036a16450
commit
0a7dc86a55
1 changed files with 6 additions and 0 deletions
|
@ -4,6 +4,12 @@ project(ZMusic
|
|||
LANGUAGES C CXX
|
||||
)
|
||||
|
||||
if (VCPKG_TOOLCHAIN)
|
||||
if(VCPKG_TARGET_TRIPLET MATCHES "-static$")
|
||||
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
|
||||
|
||||
include(CMakePackageConfigHelpers)
|
||||
|
|
Loading…
Reference in a new issue