summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-platform.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/opentrack-platform.cmake')
-rw-r--r--cmake/opentrack-platform.cmake8
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)