Skip to content

Commit

Permalink
Merge pull request #68 from leapmotion/ref-disableautonet
Browse files Browse the repository at this point in the history
Completely disabling AutoNet when USE_LIBCXX is off
  • Loading branch information
gtremper authored and codemercenary committed Aug 20, 2014
2 parents 5eb7806 + 5945efe commit 957d203
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions contrib/json11/CMakeLists.txt
@@ -1,2 +1,8 @@
# We need type traits on this platform for all of our enable_if stuff
if(APPLE AND NOT USE_LIBCXX)
message("Cannot build AutoNet without USE_LIBCXX due to extensive use of C++11 facilities")
return()
endif()

add_library(json11 STATIC json11.cpp json11.hpp)
set_property(TARGET json11 PROPERTY FOLDER "contrib")

0 comments on commit 957d203

Please sign in to comment.