File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -115,6 +115,15 @@ endif()
115115if (NOT CMAKE_EXE_LINKER_FLAGS OR NOT DEFINED CMAKE_EXE_LINKER_FLAGS )
116116 set (CMAKE_EXE_LINKER_FLAGS "$ENV{LDFLAGS} " )
117117endif ()
118+
119+ # Detect libc++ linker mismatch (e.g. Homebrew LLVM headers vs system libc++)
120+ include (CheckCXXFeatures )
121+ if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR )
122+ vgkit_check_libcxx_linker_mismatch (MODIFY_GLOBAL_FLAGS )
123+ else ()
124+ vgkit_check_libcxx_linker_mismatch ()
125+ endif ()
126+
118127if (NOT CMAKE_CXX_COMPILER )
119128 message (FATAL_ERROR "C++ compiler not found" )
120129endif ()
Original file line number Diff line number Diff line change 1- set (BTAS_TRACKED_VGCMAKEKIT_TAG d5c0a6f9ff6dc97cbb5132912733e1eb1cf73f1e )
1+ set (BTAS_TRACKED_VGCMAKEKIT_TAG 256d9462bb765787f5acb69be154b26d6efba8b6 )
22
33# oldest Boost we can tolerate ... likely can use an earlier version, but:
44# - as of oct 2023 tested with 1.71 and up only
You can’t perform that action at this time.
0 commit comments