[MacPorts] #58450: MacPorts installed cmake gives incoherent results
MacPorts
noreply at macports.org
Tue May 7 14:17:37 UTC 2019
#58450: MacPorts installed cmake gives incoherent results
---------------------+-----------------------
Reporter: sandym | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: cmake |
---------------------+-----------------------
Comment (by kencu):
Are you just trying to use cmake in your own project, outside of MacPorts?
If so, I get this with your CMakeLists.txt:
{{{
$ which cmake
/opt/local/bin/cmake
$ cmake ../
-- The C compiler identification is Clang 5.0.2
-- The CXX compiler identification is Clang 5.0.2
-- Check for working C compiler: /opt/local/bin/cc
-- Check for working C compiler: /opt/local/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /opt/local/bin/clang++
-- Check for working CXX compiler: /opt/local/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
ICONV_HEADER = /usr/include
ICONV_LIB = /usr/lib/libiconv.dylib
-- Configuring done
-- Generating done
}}}
However, inside of a MacPorts' build (using cmake 1.1 PG), it looks fine:
{{{
-- The C compiler identification is Clang 5.0.2
-- The CXX compiler identification is Clang 5.0.2
-- Check for working C compiler: /opt/local/bin/clang-mp-5.0
-- Check for working C compiler: /opt/local/bin/clang-mp-5.0 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /opt/local/bin/clang++-mp-5.0
-- Check for working CXX compiler: /opt/local/bin/clang++-mp-5.0 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
ICONV_HEADER = /opt/local/include
ICONV_LIB = /opt/local/lib/libiconv.dylib
}}}
--
Ticket URL: <https://trac.macports.org/ticket/58450#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list