mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 06:41:59 +00:00
- made ZMusic library required for non-MSVC targets
This commit is contained in:
parent
9c1703aac6
commit
30204d6072
2 changed files with 6 additions and 1 deletions
|
@ -174,7 +174,6 @@ find_package( BZip2 )
|
|||
find_package( JPEG )
|
||||
find_package( VPX )
|
||||
find_package( ZLIB )
|
||||
find_package( ZMusic )
|
||||
|
||||
include( TargetArch )
|
||||
|
||||
|
|
|
@ -407,6 +407,12 @@ endif()
|
|||
|
||||
# ZMUSIC
|
||||
|
||||
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