Skip to content

Commit 4d28493

Browse files
mbaetgen-wupkblaschke
authored andcommitted
remove GL / GLES dependency from projectMConfig for any platform other than WIN32
1 parent 76c8ff7 commit 4d28493

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/libprojectM/projectM4Config.cmake.in

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@ set(projectM4_VERSION @PROJECT_VERSION@)
55
include(CMakeFindDependencyMacro)
66

77
if(NOT "@ENABLE_EMSCRIPTEN@") # ENABLE_EMSCRIPTEN
8-
if("@ENABLE_GLES@") # ENABLE_GLES
9-
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")
10-
find_dependency(OpenGL COMPONENTS GLES3)
11-
else()
8+
if(NOT "@ENABLE_GLES@" AND WIN32)
129
find_dependency(OpenGL)
1310
endif()
1411
endif()

0 commit comments

Comments
 (0)