Skip to content
Browse files

cmake: update for gl branch changes

  • Loading branch information...
1 parent ad36f72 commit 6356307b326822ef6b498e6b1540cb2dad94a23c @lynxlynxlynx lynxlynxlynx committed Feb 25, 2014
Showing with 2 additions and 1 deletion.
  1. +2 −1 gemrb/plugins/SDLVideo/CMakeLists.txt
View
3 gemrb/plugins/SDLVideo/CMakeLists.txt
@@ -3,8 +3,9 @@ INCLUDE_DIRECTORIES( ${SDL_INCLUDE_DIR} )
SET(COMMON_FILES COCOA SDLVideo.cpp SDLSurfaceSprite2D.cpp)
IF(SDL2_FOUND)
IF(USE_OPENGL)
- ADD_GEMRB_PLUGIN( SDLVideo ${COMMON_FILES} SDL20Video.cpp SDL20GLVideo.cpp SDLSurfaceSprite2D.cpp GLSLProgram.cpp Matrix.cpp GLTextureSprite2D.cpp GLPaletteManager.cpp)
+ ADD_GEMRB_PLUGIN( SDLVideo ${COMMON_FILES} SDL20Video.cpp SDL20GLVideo.cpp GLSLProgram.cpp Matrix.cpp GLTextureSprite2D.cpp GLPaletteManager.cpp)
TARGET_LINK_LIBRARIES( SDLVideo ${SDL_LIBRARY} ${OPENGL_LIBRARY} ${GLEW_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${COCOA_LIBRARY_PATH})
+ FILE(COPY Shaders DESTINATION ${CMAKE_BINARY_DIR})
ELSE()
ADD_GEMRB_PLUGIN( SDLVideo ${COMMON_FILES} SDL20Video.cpp)
TARGET_LINK_LIBRARIES( SDLVideo ${SDL_LIBRARY} ${CMAKE_THREAD_LIBS_INIT} ${COCOA_LIBRARY_PATH})

0 comments on commit 6356307

Please sign in to comment.
Something went wrong with that request. Please try again.