Open n8ta opened 1 year ago
Few missing frameworks when building. Adding this to CMakeLists fixes it (line 46)
if (CMAKE_SYSTEM_NAME STREQUAL "Darwin")
set (PLATFORM_LIBS "-framework CoreFoundation -framework IOKit -framework Foundation -framework SystemConfiguration -framework Network")
endif()
-framework SystemConfiguration -framework Network are missing.
I'll see if I can make a PR monday.
Describe your environment. macOS 12.3.1, xcode 13.3.1, main branch
Steps to reproduce. Clone the repo. Build main project with tests and obj-c wrapper off. Build sample c++ project.
What is the expected behavior? No linker errors
What is the actual behavior? Reachability obj-c library can't seem to find some macOS functions
Additional context. Intel mac but I see the same on an m2.