Skip to content

Commit

Permalink
- use INCLUDES and DEPLIBS instead of hardcoding it to GL
Browse files Browse the repository at this point in the history
  • Loading branch information
Memphiz authored and popcornmix committed May 27, 2015
1 parent 02b11c0 commit 0766841
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,14 @@ else()
endif()
endif()

include_directories(${OpenGL_INCLUDE_DIR}
${GLEW_INCLUDE_DIR}
include_directories(${INCLUDES}
${KODI_INCLUDE_DIR}
${CMAKE_INCLUDE_PATH})

set(SHADERTOY_SOURCES src/lodepng.cpp
src/main.cpp)

set(DEPLIBS ${OPENGL_LIBRARIES} ${GLEW_LIBRARIES})
set(DEPLIBS ${DEPLIBS})

This comment has been minimized.

Copy link
@Memphiz

Memphiz May 28, 2015

Author Contributor

thats a NOP and not needed for the screensaver


if(APPLE)
set(DEPLIBS ${DEPLIBS} "-framework CoreVideo")
Expand Down

0 comments on commit 0766841

Please sign in to comment.