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
PhoenixHPCProxy
Commits
5d30e8dc
Commit
5d30e8dc
authored
Jun 22, 2021
by
Pierre Aubert
Browse files
Update find generator
parent
bdcbb492
Pipeline
#126239
passed with stages
in 10 minutes and 48 seconds
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
cmake/create_find_project.cmake
cmake/create_find_project.cmake
+2
-1
No files found.
cmake/create_find_project.cmake
View file @
5d30e8dc
...
...
@@ -104,6 +104,7 @@ function(phoenix_create_find_full projectName listIncludeFile listLibrary listPr
set
(
EXTRA_INCLUDE_CMAKE
""
)
else
()
set
(
EXTRA_INCLUDE_CMAKE
"include(
${
CMAKE_MODULE_PATH
}
/
${
extraIncludeFile
}
)"
)
install
(
FILES
${
extraIncludeFile
}
DESTINATION share/cmake
)
endif
()
file
(
WRITE
${
findFileName
}
"
\n
"
)
...
...
@@ -185,7 +186,7 @@ function(phoenix_create_find_full projectName listIncludeFile listLibrary listPr
foreach
(
libraryName
${
listLibrary
}
)
file
(
APPEND
${
findFileName
}
"
${
libraryName
}
"
)
endforeach
(
libraryName
)
file
(
APPEND
${
findFileName
}
"
${
EXTRA_DEPENDENCIES_LIB
}
CACHE
PATHS
\"
${
PROJECT_NAME_UPPER
}
libraries and dependencies
\"
)
\n
"
)
file
(
APPEND
${
findFileName
}
"
${
EXTRA_DEPENDENCIES_LIB
}
CACHE
STRING
\"
${
PROJECT_NAME_UPPER
}
libraries and dependencies
\"
)
\n
"
)
file
(
APPEND
${
findFileName
}
"
\t
set(
${
PROJECT_NAME_UPPER
}
_FOUND
\"
YES
\"
CACHE BOOL
\"
${
PROJECT_NAME_UPPER
}
progect found
\"
)
\n
"
)
file
(
APPEND
${
findFileName
}
"
\t
link_directories(
\$
{
${
PROJECT_NAME_UPPER
}
_LIBRARY_DIR})
\n
"
)
...
...
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