cmake: Do not build the chef_wrap example on OSX.
authorAndreas Schneider <asn@cryptomilk.org>
Wed, 22 Jan 2014 14:50:40 +0000 (15:50 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 22 Jan 2014 14:50:40 +0000 (15:50 +0100)
example/CMakeLists.txt

index 84c93b6..9e0889e 100644 (file)
@@ -79,6 +79,7 @@ set_tests_properties(
         "\\[  FAILED  \\] 2 test"
 )
 
-if (${CMAKE_C_COMPILER_ID} MATCHES "(GNU|Clang)")
+# TODO Execute "$CMAKE_LINKER --help" and check for --wrap
+if (${CMAKE_C_COMPILER_ID} MATCHES "(GNU|Clang)" AND NOT APPLE)
     add_subdirectory(chef_wrap)
 endif()