Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Michal Mazurek
Gaudi
Commits
bb327eb6
Commit
bb327eb6
authored
Apr 26, 2021
by
Michal Mazurek
Browse files
Always set TBB_LIBRARIES when TBB_FOUND
parent
903647ab
Pipeline
#2585077
failed with stages
in 21 minutes and 19 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
cmake/modules/FindTBB.cmake
View file @
bb327eb6
...
...
@@ -119,8 +119,12 @@ endfunction()
# Do the final processing for the package find.
#===============================================
macro
(
findpkg_finish PREFIX TARGET_NAME
)
if
(
${
PREFIX
}
_FOUND
)
if
(
${
PREFIX
}
_LIBRARY AND NOT
${
PREFIX
}
_LIBRARIES
)
set
(
${
PREFIX
}
_LIBRARIES
${${
PREFIX
}
_LIBRARY
}
)
endif
()
else
()
# skip if already processed during this run
if
(
NOT
${
PREFIX
}
_FOUND
)
if
(
${
PREFIX
}
_INCLUDE_DIR AND
${
PREFIX
}
_LIBRARY
)
set
(
${
PREFIX
}
_FOUND TRUE
)
set
(
${
PREFIX
}
_INCLUDE_DIRS
${${
PREFIX
}
_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