From 377dc1af24d5803aac11fa70e369eae9c40e8b7f Mon Sep 17 00:00:00 2001 From: "R. van twisk" Date: Sat, 30 Nov 2019 12:22:16 +0100 Subject: OSX Build fixes --- cmake/opentrack-platform.cmake | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'cmake') diff --git a/cmake/opentrack-platform.cmake b/cmake/opentrack-platform.cmake index 02c1b2f8..0ebe53a7 100644 --- a/cmake/opentrack-platform.cmake +++ b/cmake/opentrack-platform.cmake @@ -156,11 +156,13 @@ if(MSVC) endif() if(APPLE) - add_compile_definitions(-stdlib=libc++) + # Removed because of Macro error + # add_compile_definitions(-stdlib=libc++) add_link_options(-stdlib=libc++) - add_link_options(-framework Cocoa -framework CoreFoundation -framework Carbon) - link_libraries(objc z) + # Build failure cannot link to frameworks + #add_link_options(-framework Cocoa -framework CoreFoundation -framework Carbon) + #link_libraries(objc z) endif() if(NOT MSVC) -- cgit v1.2.3