Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Games
KSudoku
Commits
420b5b98
Commit
420b5b98
authored
Sep 03, 2020
by
Albert Astals Cid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Link against GLU
Since we use it BUGS: 426088
parent
aa3aff6d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
CMakeLists.txt
CMakeLists.txt
+2
-2
src/CMakeLists.txt
src/CMakeLists.txt
+1
-1
No files found.
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
Markdown
is supported
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