File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 42
42
)
43
43
44
44
include (FindPackageHandleStandardArgs)
45
- find_package_handle_standard_args(OPENGLES2 DEFAULT_MSG OPENGLES2_LIBRARY OPENGLES2_INCLUDE_DIR)
45
+ find_package_handle_standard_args(OpenGLES2 DEFAULT_MSG OPENGLES2_LIBRARY OPENGLES2_INCLUDE_DIR)
46
46
47
47
find_path (EGL_INCLUDE_DIR EGL/egl.h
48
48
PATHS /usr/openwin/share/include
59
59
/usr/lib
60
60
)
61
61
62
- include (FindPackageHandleStandardArgs)
63
62
find_package_handle_standard_args(EGL DEFAULT_MSG EGL_LIBRARY EGL_INCLUDE_DIR)
64
63
endif ()
65
64
Original file line number Diff line number Diff line change @@ -513,6 +513,10 @@ include_directories(
513
513
${PROJECT_SOURCE_DIR} /script
514
514
)
515
515
516
+ if (ENABLE_GLES)
517
+ include_directories (${OPENGLES2_INCLUDE_DIR} ${EGL_INCLUDE_DIR} )
518
+ endif ()
519
+
516
520
if (USE_GETTEXT)
517
521
include_directories (${GETTEXT_INCLUDE_DIR} )
518
522
endif ()
You can’t perform that action at this time.
0 commit comments