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:
parent
d2b706b874
commit
7bc501106c
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user