Skip to content

Conversation

eirrgang
Copy link

Add logic to blt_add_target_compile_flags() to prepend SHELL: to possible argument lists in the way that blt_add_target_link_flags().

Fixes #723

@eirrgang
Copy link
Author

Alternatively, this could be done in BLTSetupOpenMP.cmake by changing to

blt_import_library(NAME          openmp
                   COMPILE_FLAGS SHELL:${_compile_flags}
                   LINK_FLAGS    ${_link_flags}
                   EXPORTABLE    ${BLT_EXPORT_THIRDPARTY})

Add logic to `blt_add_target_compile_flags()` to prepend `SHELL:` to
possible argument lists in the way that `blt_add_target_link_flags()`.

Fixes LLNL#723
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

blt::openmp INTERFACE_COMPILE_OPTIONS may not delimit lists correctly.
1 participant