Commit 737e5885 authored by Marijn Kruisselbrink's avatar Marijn Kruisselbrink

only add OPENGL include directory when it was actually found

svn path=/trunk/KDE/kdegames/ksudoku/; revision=836917
parent 32588502
......@@ -10,9 +10,12 @@ include_directories(
# ${CMAKE_CURRENT_BINARY_DIR}/gui/export
# ${CMAKE_CURRENT_BINARY_DIR}/gui/export/draw
# ${CMAKE_CURRENT_BINARY_DIR}/logic
${OPENGL_INCLUDE_DIR}
)
if(OPENGL_SUPPORT)
include_directories(${OPENGL_INCLUDE_DIR})
endif(OPENGL_SUPPORT)
set(ksudoku_SRCS
main.cpp
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment