[Bug 223678] devel/cmake: find_package(OpenMP) doesn't find the openmp package
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Nov 16 15:31:55 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223678
Christian Pfeiffer <cpfeiffer at live.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |cpfeiffer at live.de
--- Comment #7 from Christian Pfeiffer <cpfeiffer at live.de> ---
(In reply to Adriaan de Groot from comment #6)
Does clang -fopenmp itself work, or do you also need to pass both $LOCALBASE as
include and link path for that flag to work at all?
FindOpenMP will not attempt anything beyond invoking the compiler with the
given CMAKE_<LANG>_FLAGS and the flags to try out, e.g. -fopenmp. If you
install the OpenMP headers / libraries in a different location than the
compiler's default search paths, any attempt to compile a source file will fail
due to the lack of OpenMP library and/or header.
Note that FindOpenMP currently has no OpenMP_<LANG>_INCLUDE_DIR variable due to
this assumption.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the kde-freebsd
mailing list