Skip to content

cilacc: fix openmp linking #2155

@casperdcl

Description

@casperdcl

add_definitions(${OpenMP_CXX_FLAGS})
is outdated and needs to be replaced by target_link_libraries(cliacc ... OpenMP::OpenMP_CXX) to avoid linking failures on some compilers.

FindOpenMP.cmake version/syntax might be related to #2154.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions