Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Games
KSudoku
Commits
420b5b98
Commit
420b5b98
authored
Sep 03, 2020
by
Albert Astals Cid
Browse files
Link against GLU
Since we use it
BUGS: 426088
parent
aa3aff6d
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
420b5b98
cmake_minimum_required
(
VERSION 3.
5
FATAL_ERROR
)
cmake_minimum_required
(
VERSION 3.
11
FATAL_ERROR
)
set
(
RELEASE_SERVICE_VERSION_MAJOR
"20"
)
set
(
RELEASE_SERVICE_VERSION_MINOR
"11"
)
...
...
@@ -45,7 +45,7 @@ include(KDEInstallDirs)
include
(
KDECompilerSettings NO_POLICY_SCOPE
)
include
(
KDECMakeSettings
)
if
(
OPENGL_FOUND
)
if
(
OPENGL_FOUND
AND OPENGL_GLU_FOUND
)
set
(
OPENGL_SUPPORT true
)
endif
()
...
...
src/CMakeLists.txt
View file @
420b5b98
...
...
@@ -50,7 +50,7 @@ target_link_libraries(ksudoku
if
(
OPENGL_SUPPORT
)
target_link_libraries
(
ksudoku
Qt5::OpenGL
${
OPENGL_LIBRARIES
}
${
CMAKE_DL_LIBS
}
Qt5::OpenGL
OpenGL::OpenGL OpenGL::GLU
${
CMAKE_DL_LIBS
}
)
endif
(
OPENGL_SUPPORT
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment