mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-21 03:21:28 +00:00
- added ZMusic library detection to CMake configuration
This commit is contained in:
parent
2dd3c28d05
commit
a1b5ab6e9b
1 changed files with 6 additions and 0 deletions
|
@ -14,6 +14,12 @@ include( CheckIncludeFiles )
|
|||
include( CheckLibraryExists )
|
||||
include( FindPkgConfig )
|
||||
|
||||
if( MSVC )
|
||||
find_package( ZMusic )
|
||||
else()
|
||||
find_package( ZMusic REQUIRED )
|
||||
endif()
|
||||
|
||||
if( MSVC AND NOT ZMUSIC_FOUND )
|
||||
# Use prebuilt library
|
||||
set( ZMUSIC_ROOT_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../bin/windows/zmusic" )
|
||||
|
|
Loading…
Reference in a new issue