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
Gauthier Quesnel
irritator
Commits
bcc27369
Commit
bcc27369
authored
Jun 09, 2020
by
Gauthier Quesnel
Browse files
gui: uses FindOpenGL cmake script to detect GL
parent
1538ba73
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/gui/CMakeLists.txt
View file @
bcc27369
...
...
@@ -22,6 +22,7 @@ if (WIN32)
${
PROJECT_SOURCE_DIR
}
/../../external/imgui/examples/imgui_impl_dx12.h
${
PROJECT_SOURCE_DIR
}
/../../external/imgui/examples/imgui_impl_dx12.cpp
)
else
()
find_package
(
OpenGL REQUIRED
)
find_package
(
glfw3 REQUIRED
)
find_package
(
GLEW REQUIRED
)
list
(
APPEND gui_sources
...
...
@@ -55,7 +56,7 @@ target_link_libraries(irritator-gui
$<$<CXX_COMPILER_ID:Clang>:c++fs>
threads
$<$<PLATFORM_ID:Linux>:dl>
$<$<PLATFORM_ID:Linux>:GL>
$<$<PLATFORM_ID:Linux>:
OpenGL::Open
GL>
$<$<PLATFORM_ID:Linux>:glfw>
$<$<PLATFORM_ID:Windows>:d3d12>
$<$<PLATFORM_ID:Windows>:dxguid>
...
...
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