From e220b47469287c16b6f291eb622c152ee00af4cb Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Mon, 13 Apr 2020 11:28:31 +0300 Subject: [PATCH] - require ZMusic library for non-MSVC targets This improves error reporting when ZMusic was not found during CMake configuration step --- source/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index 10f927038..caac5bdbb 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -410,7 +410,7 @@ endif() if( MSVC ) find_package( ZMusic ) else() - find_package( ZMusic ) + find_package( ZMusic REQUIRED ) endif() if( MSVC AND NOT ZMUSIC_FOUND )