File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -9,15 +9,10 @@ project(gstprojectm VERSION 0.0.1)
9
9
10
10
list (APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR} /cmake" )
11
11
12
- find_package (projectM4 REQUIRED )
12
+ find_package (projectM4 4.1.0...<5.0.0 REQUIRED )
13
13
find_package (GStreamer REQUIRED COMPONENTS gstreamer-audio gstreamer-gl gstreamer-pbutils gstreamer-video )
14
14
find_package (GLIB2 REQUIRED )
15
15
16
- if (projectM4_VERSION VERSION_LESS 4.2.0 )
17
- # needed for timekeeper API
18
- message (FATAL_ERROR "libprojectM version 4.2.0 or higher is required. Version found: ${projectM4_VERSION} ." )
19
- endif ()
20
-
21
16
add_library (gstprojectm SHARED
22
17
src/caps.h
23
18
src/caps.c
@@ -75,4 +70,4 @@ target_link_libraries(gstprojectm
75
70
${GSTREAMER_PBUTILS_LIBRARIES}
76
71
${GLIB2_LIBRARIES}
77
72
${GLIB2_GOBJECT_LIBRARIES}
78
- )
73
+ )
You can’t perform that action at this time.
0 commit comments