Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
project_cpp_template
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
labrobotica
project_cpp_template
Commits
d69e0be5
Commit
d69e0be5
authored
5 years ago
by
Fernando Herrero
Browse files
Options
Downloads
Patches
Plain Diff
Update Find cmake template: remove system directories and search first in /local/ directories.
parent
d073e2d5
No related branches found
No related tags found
1 merge request
!1
Install path
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Findlib_template.cmake
+2
-2
2 additions, 2 deletions
Findlib_template.cmake
with
2 additions
and
2 deletions
Findlib_template.cmake
+
2
−
2
View file @
d69e0be5
#edit the following line to add the librarie's header files
SET
(
name library_name
)
FIND_PATH
(
${
name
}
_INCLUDE_DIRS
${
name
}
.h /usr/include/iri/
${
name
}
/usr/
local/
include/iri/
${
name
}
)
FIND_PATH
(
${
name
}
_INCLUDE_DIRS
${
name
}
.h /usr/
local/
include/iri/
${
name
}
/usr/include/iri/
${
name
}
)
FIND_LIBRARY
(
${
name
}
_LIBRARIES
NAMES
${
name
}
PATHS /usr/l
ib /usr
/lib/iri/
${
name
}
/usr/
local/lib /usr/local/
lib/iri/
${
name
}
)
PATHS /usr/l
ocal
/lib/iri/
${
name
}
/usr/lib/iri/
${
name
}
)
SET
(
${
name
}
_INCLUDE_DIR
${${
name
}
_INCLUDE_DIRS
}
)
SET
(
${
name
}
_LIBRARY
${${
name
}
_LIBRARIES
}
)
...
...
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