Unfortunatelly some windows ES simulators used opengl32.dll -- recursion :(
@@ -192,6 +192,9 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
add_library(OPENGL32 STATIC ${GL_SRC})
else()
add_library(OPENGL32 SHARED ${GL_SRC})
+ # some ES simulators used opengl32.dll :(
+ set_target_properties(OPENGL32 PROPERTIES OUTPUT_NAME "GL32")
+ set_target_properties(OPENGL32 PROPERTIES IMPORT_PREFIX "OPEN")
endif()
elseif(STATICLIB)
add_library(GL STATIC ${GL_SRC})
