Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Nov 2017 07:34:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 223678] devel/cmake: find_package(OpenMP) doesn't find the openmp package
Message-ID:  <bug-223678-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223678

            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@FreeBSD.org
          Reporter: yuri@freebsd.org
             Flags: maintainer-feedback?(kde@FreeBSD.org)
          Assignee: kde@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_NA=
MES) (found version "1.0")

Specifying flags:
> cmake -DCMAKE_C_FLAGS:STRING=3D"-I/usr/local/include" -DCMAKE_EXE_LINKER_=
FLAGS:STRING=3D"-L/usr/local/lib" CMakeLists.txt
produces the same result.

It worked before devel/cmake-modules was moved into cmake.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223678-13>