[MacPorts] #42872: cmake PortGroup: don't add -I${prefix}/include to CXXFLAGS
MacPorts
noreply at macports.org
Sun Mar 16 08:36:57 PDT 2014
#42872: cmake PortGroup: don't add -I${prefix}/include to CXXFLAGS
--------------------------+--------------------------------
Reporter: mojca@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: clhep cmake |
--------------------------+--------------------------------
Comment (by ryandesign@…):
Replying to [ticket:42872 mojca@…]:
> * http://www.cmake.org/Wiki/CMake_Useful_Variables
According to that, we could just set `CMAKE_PREFIX_PATH=${prefix}`, to
take care of libraries, includes and binaries. You could make that change
to the portgroup locally and see whether it solves the problem, and also
test some other cmake-portgroup-using ports to make sure they still build
ok.
--
Ticket URL: <https://trac.macports.org/ticket/42872#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list