[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


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223678

            Bug ID: 223678
           Summary: devel/cmake: find_package(OpenMP) doesn't find the
                    openmp package
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde at FreeBSD.org
          Reporter: yuri at freebsd.org
             Flags: maintainer-feedback?(kde at FreeBSD.org)
          Assignee: kde at FreeBSD.org

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list