|
@@ -12,5 +12,9 @@ else(NOT OPENGL_FOUND)
|
|
endif(NOT OPENGL_FOUND)
|
|
endif(NOT OPENGL_FOUND)
|
|
|
|
|
|
find_package(MPV REQUIRED)
|
|
find_package(MPV REQUIRED)
|
|
-
|
|
|
|
include_directories(${MPV_INCLUDE_DIR})
|
|
include_directories(${MPV_INCLUDE_DIR})
|
|
|
|
+
|
|
|
|
+find_path(MPV_QT_HELPER mpv/qthelper.hpp HINTS ${MPV_INCLUDE_DIR})
|
|
|
|
+if(${MPV_QT_HELPER} STREQUAL "MPV_QT_HELPER-NOTFOUND")
|
|
|
|
+ message(FATAL_ERROR "Missing mpv/qthelper.h - maybe your mpv version is to old?")
|
|
|
|
+endif(${MPV_QT_HELPER} STREQUAL "MPV_QT_HELPER-NOTFOUND")
|