Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
CTA-LAPP
PHOENIX_LIBS
PhoenixClockTimer
Commits
a9073ca3
Commit
a9073ca3
authored
Apr 30, 2021
by
Pierre Aubert
Browse files
Update find generator template
parent
bfb762b6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
cmake/template_find_header_project.cmake
cmake/template_find_header_project.cmake
+1
-1
cmake/template_find_project.cmake
cmake/template_find_project.cmake
+2
-2
No files found.
cmake/template_find_header_project.cmake
View file @
a9073ca3
...
...
@@ -23,7 +23,7 @@ include_directories(${@PROJECT_NAME_UPPER@_INCLUDE_DIR})
set
(
@PROJECT_NAME_UPPER@_PREFIX
"
${
@PROJECT_NAME_UPPER@_INCLUDE_DIR
}
/.."
)
set
(
@PROJECT_NAME_UPPER@ @libraryTargetName@ @EXTRA_DEPENDENCIES_LIB@
)
set
(
@PROJECT_NAME_UPPER@ @libraryTargetName@ @EXTRA_DEPENDENCIES_LIB@
CACHE BOOL
"@PROJECT_NAME_UPPER@ library and dependencies"
)
set
(
@PROJECT_NAME_UPPER@_FOUND
"YES"
CACHE BOOL
"@PROJECT_NAME_UPPER@ program found"
)
...
...
cmake/template_find_project.cmake
View file @
a9073ca3
...
...
@@ -45,9 +45,9 @@ endif(@PROJECT_NAME_UPPER@_LIBRARY_DIR)
set
(
@PROJECT_NAME_UPPER@_PREFIX
"
${
@PROJECT_NAME_UPPER@_LIBRARY_DIR
}
/.."
)
set
(
@PROJECT_NAME_UPPER@ @libraryTargetName@ @EXTRA_DEPENDENCIES_LIB@
)
set
(
@PROJECT_NAME_UPPER@ @libraryTargetName@ @EXTRA_DEPENDENCIES_LIB@
CACHE BOOL
"@PROJECT_NAME_UPPER@ library and dependencies"
)
set
(
@PROJECT_NAME_UPPER@_FOUND
"YES"
CACHE BOOL
"@PROJECT_NAME_UPPER@ prog
ram
found"
)
set
(
@PROJECT_NAME_UPPER@_FOUND
"YES"
CACHE BOOL
"@PROJECT_NAME_UPPER@ prog
ect
found"
)
link_directories
(
${
@PROJECT_NAME_UPPER@_LIBRARY_DIR
}
)
include_directories
(
${
@PROJECT_NAME_UPPER@_INCLUDE_DIR
}
${
@PROJECT_NAME_UPPER@_INCLUDE_DIR
}
/../
)
...
...
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