Opened 2 years ago
Closed 2 years ago
#65308 closed defect (fixed)
cpptoml: builds failing for 10.13 and earlier: cmake cannot find libcxx
Reported by: | mascguy (Christopher Nielsen) | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.2 |
Keywords: | Cc: | ||
Port: | cpptoml |
Description
Details:
CMake Error at CMakeLists.txt:30 (find_package): By not providing "FindLIBCXX.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "LIBCXX", but CMake did not find one. Could not find a package configuration file provided by "LIBCXX" with any of the following names: LIBCXXConfig.cmake libcxx-config.cmake Add the installation prefix of "LIBCXX" to CMAKE_PREFIX_PATH or set "LIBCXX_DIR" to a directory containing one of the above files. If "LIBCXX" provides a separate development package or SDK, be sure it has been installed.
Change History (3)
comment:1 Changed 2 years ago by mascguy (Christopher Nielsen)
Summary: | cpptoml: builds failing for 10.13 and earlier → cpptoml: builds failing for 10.13 and earlier: cmake cannot find libcxx |
---|
comment:2 Changed 2 years ago by mascguy (Christopher Nielsen)
comment:3 Changed 2 years ago by Christopher Nielsen <mascguy@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
It looks like this port is using the project's default behavior, which includes building examples. But those aren't provided by the port anyway, so that phase can be disabled.
Meanwhile, based on comparing our current published binaries, the port simply provides architecture-independent components:
Based on initial testing on 10.12, we can provide the following two flags to CMake, to completely eliminate the need for compilation (and libcxx):
That also allows us to remove the dependency on Boost, and simplify the portfile.