1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-02 00:42:33 +01:00

cmake: cmake does not fail when libmad-devel is not installed

This commit is contained in:
Anonymous Maarten 2016-12-28 04:12:33 +01:00 committed by Daniel Evans
parent d2b706b874
commit 7bc501106c

View File

@ -30,6 +30,8 @@ if (MAD_INCLUDE_DIR AND MAD_LIBRARY)
set (MAD_FOUND TRUE)
endif ()
if (MAD_FOUND AND NOT MAD_FIND_QUIETLY)
message(STATUS "Found MAD in ${MAD_INCLUDE_DIR}")
endif()
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(MAD
REQUIRED_VARS MAD_LIBRARY MAD_INCLUDE_DIR)