Skip to content

Commit

Permalink
Completely disabling AutoNet when USE_LIBCXX is off
Browse files Browse the repository at this point in the history
  • Loading branch information
codemercenary committed Aug 20, 2014
1 parent 959a4e7 commit 5945efe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions contrib/json11/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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 5945efe

Please sign in to comment.