- require ZMusic library for non-MSVC targets

This improves error reporting when ZMusic was not found during CMake configuration step
This commit is contained in:
alexey.lysiuk 2020-04-13 11:28:31 +03:00 committed by Christoph Oelckers
parent f6b8ca6a22
commit e220b47469

View file

@ -410,7 +410,7 @@ endif()
if( MSVC ) if( MSVC )
find_package( ZMusic ) find_package( ZMusic )
else() else()
find_package( ZMusic ) find_package( ZMusic REQUIRED )
endif() endif()
if( MSVC AND NOT ZMUSIC_FOUND ) if( MSVC AND NOT ZMUSIC_FOUND )