Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
RoboGuide
scigl_render
Commits
6312c2a2
Commit
6312c2a2
authored
Nov 01, 2019
by
Tim Übelhör
Browse files
find_dependency in config
parent
01ce25bd
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
6312c2a2
...
...
@@ -22,7 +22,7 @@ set(CMAKE_POSITION_INDEPENDENT_CODE ON)
include
(
GNUInstallDirs
)
# the core library
set
(
scigl_render_INCLUDE_DIRS include
)
set
(
scigl_render_INCLUDE_DIRS include
)
add_library
(
scigl_render
src/gl_context.cpp
src/buffer/frame_buffer.cpp
...
...
scigl_renderConfig.cmake.in
View file @
6312c2a2
@PACKAGE_INIT@
include(CMakeFindDependencyMacro)
set_and_check(scigl_render_INCLUDE_DIRS "@PACKAGE_scigl_render_INCLUDE_DIRS@")
include(${CMAKE_CURRENT_LIST_DIR}/scigl_renderTargets.cmake)
if(NOT TARGET scigl_render AND NOT scigl_render_BINARY_DIR)
include (${CMAKE_CURRENT_LIST_DIR}/scigl_renderTargets.cmake)
endif()
find_dependency(gl3w REQUIRED)
find_dependency(assimp REQUIRED)
find_dependency(glfw3 REQUIRED)
find_dependency(glm REQUIRED)
check_required_components(scigl_render)
\ No newline at end of file
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