Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
VistaCMakeCommon
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LuFG VR VIS
VR-Group
VistaCMakeCommon
Commits
ee93c0a5
Commit
ee93c0a5
authored
9 years ago
by
Sebastian Freitag
Browse files
Options
Downloads
Patches
Plain Diff
ADD: find script for GLFW
parent
09303032
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
FindVGLFW.cmake
+25
-0
25 additions, 0 deletions
FindVGLFW.cmake
with
25 additions
and
0 deletions
FindVGLFW.cmake
0 → 100644
+
25
−
0
View file @
ee93c0a5
# $Id: FindVGLFW.cmake 50720 2015-06-12 20:38:23Z sf458740 $
include
(
FindPackageHandleStandardArgs
)
include
(
VistaFindUtils
)
if
(
NOT VGLFW_FOUND
)
vista_find_package_root
(
GLFW include/GLFW/glfw3.h
)
if
(
GLFW_ROOT_DIR
)
find_library
(
GLFW_LIBRARIES NAMES glfw glfw3 GLFW
PATHS
${
GLFW_ROOT_DIR
}
/lib
CACHE
"GLFW library"
)
mark_as_advanced
(
GLFW_LIBRARIES
)
set
(
GLFW_INCLUDE_DIRS
${
GLFW_ROOT_DIR
}
/include
)
set
(
GLFW_LIBRARY_DIRS
${
GLFW_ROOT_DIR
}
/lib
)
get_filename_component
(
GLFW_LIBRARY_DIRS
${
GLFW_LIBRARIES
}
PATH
)
endif
(
GLFW_ROOT_DIR
)
endif
(
NOT VGLFW_FOUND
)
find_package_handle_standard_args
(
VGLFW
"GLFW could not be found"
GLFW_ROOT_DIR
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment