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
PhoenixMath
Commits
e465d99c
Commit
e465d99c
authored
Jul 31, 2021
by
Pierre Aubert
Browse files
Fix the find project generator
parent
b7fb577e
Pipeline
#130219
passed with stages
in 38 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cmake/create_find_project.cmake
cmake/create_find_project.cmake
+1
-1
No files found.
cmake/create_find_project.cmake
View file @
e465d99c
...
...
@@ -188,7 +188,6 @@ function(phoenix_create_find_full projectName listIncludeFile listLibrary listPr
endforeach
(
libraryName
)
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
"
)
file
(
APPEND
${
findFileName
}
"else()
\n
"
)
file
(
APPEND
${
findFileName
}
"
\t
message(FATAL_ERROR
\"
Libraries of
${
PROJECT_NAME_UPPER
}
not found
\"
)
\n
"
)
...
...
@@ -223,6 +222,7 @@ function(phoenix_create_find_full projectName listIncludeFile listLibrary listPr
file
(
APPEND
${
findFileName
}
"endif(
${
PROJECT_NAME_UPPER
}
_EXECUTABLE_DIR)
\n
"
)
file
(
APPEND
${
findFileName
}
"
\n\n
"
)
endif
()
file
(
APPEND
${
findFileName
}
"set(
${
PROJECT_NAME_UPPER
}
_FOUND
\"
YES
\"
CACHE BOOL
\"
${
PROJECT_NAME_UPPER
}
progect found
\"
)
\n
"
)
file
(
APPEND
${
findFileName
}
"
${
EXTRA_INCLUDE_CMAKE
}
\n\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