projects
/
platform
/
upstream
/
cmocka.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3770c5d
)
cmake: Do not build the chef_wrap example on OSX.
author
Andreas Schneider
<asn@cryptomilk.org>
Wed, 22 Jan 2014 14:50:40 +0000
(15:50 +0100)
committer
Andreas Schneider
<asn@cryptomilk.org>
Wed, 22 Jan 2014 14:50:40 +0000
(15:50 +0100)
example/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/example/CMakeLists.txt
b/example/CMakeLists.txt
index
84c93b6
..
9e0889e
100644
(file)
--- a/
example/CMakeLists.txt
+++ b/
example/CMakeLists.txt
@@
-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()