maintainer-feedback requested: [Bug 223678] devel/cmake: find_package(OpenMP) doesn't find the openmp package
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Nov 15 07:34:24 UTC 2017
Yuri Victorovich <yuri at freebsd.org> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to kde at FreeBSD.org:
Bug 223678: devel/cmake: find_package(OpenMP) doesn't find the openmp package
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223678
--- Description ---
I put 'find_package(OpenMP)' into CMakeLists.txt, run cmake, and it always
prints:
> -- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)
(found version "1.0")
> -- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES)
(found version "1.0")
Specifying flags:
> cmake -DCMAKE_C_FLAGS:STRING="-I/usr/local/include"
-DCMAKE_EXE_LINKER_FLAGS:STRING="-L/usr/local/lib" CMakeLists.txt
produces the same result.
It worked before devel/cmake-modules was moved into cmake.
More information about the kde-freebsd
mailing list