diff options
author | R. van twisk <ries.van.twisk@ing.com> | 2019-11-30 12:22:16 +0100 |
---|---|---|
committer | R. van twisk <ries.van.twisk@ing.com> | 2019-11-30 12:22:16 +0100 |
commit | 377dc1af24d5803aac11fa70e369eae9c40e8b7f (patch) | |
tree | ca75309db4639974d2b8f1b8ac51847fe53179e2 /cmake | |
parent | ebf9de109b86336b8844fc6fd15a34760481de5e (diff) |
OSX Build fixes
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/opentrack-platform.cmake | 8 |
1 files changed, 5 insertions, 3 deletions
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) |