mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 18:51:11 +00:00
35 lines
737 B
CMake
35 lines
737 B
CMake
#FIXME: generate config.h
|
|
add_definitions(-DHAVE_CONFIG_H)
|
|
|
|
include_directories(AFTER
|
|
../../../win32/common
|
|
${GLEW_INCLUDE_DIR}
|
|
.
|
|
${GSTREAMER_INCLUDE_DIR}
|
|
${GLIB2_INCLUDE_DIR}
|
|
${LIBXML2_INCLUDE_DIR}
|
|
${LIBICONV_INCLUDE_DIR})
|
|
|
|
add_library (gstgl STATIC
|
|
gstglwindow_win32.c
|
|
gstgldisplay.c
|
|
gstglbuffer.c
|
|
gstglfilter.c
|
|
gstglshader.c)
|
|
|
|
#FIXME: get ride of this condition
|
|
if (WIN32)
|
|
target_link_libraries(gstgl
|
|
general ${OPENGL_LIBRARIES}
|
|
general ${GLEW_LIBRARY}
|
|
general ${GLIB2_LIBRARIES}
|
|
general ${GSTREAMER_LIBRARIES}
|
|
gdi32
|
|
winmm)
|
|
else (WIN32)
|
|
target_link_libraries(gstgl
|
|
general ${OPENGL_LIBRARIES}
|
|
general ${GLEW_LIBRARY}
|
|
general ${GLIB2_LIBRARIES}
|
|
general ${GSTREAMER_LIBRARIES})
|
|
endif (WIN32)
|