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:
580787e
)
cmake: Fix build warning on OpenIndiana.
author
Andreas Schneider
<asn@cryptomilk.org>
Mon, 15 Oct 2012 17:39:39 +0000
(19:39 +0200)
committer
Andreas Schneider
<asn@cryptomilk.org>
Mon, 15 Oct 2012 17:39:39 +0000
(19:39 +0200)
ConfigureChecks.cmake
patch
|
blob
|
history
diff --git
a/ConfigureChecks.cmake
b/ConfigureChecks.cmake
index
798e95f
..
6e52232
100644
(file)
--- a/
ConfigureChecks.cmake
+++ b/
ConfigureChecks.cmake
@@
-40,6
+40,11
@@
if(CMAKE_COMPILER_IS_GNUCC AND NOT MINGW)
endif (NOT GNUCC_VERSION EQUAL 34)
endif(CMAKE_COMPILER_IS_GNUCC AND NOT MINGW)
+# DEFINITIONS
+if (SOLARIS)
+ add_definitions(-D__EXTENSIONS__)
+endif (SOLARIS)
+
# HEADER FILES
check_include_file(assert.h HAVE_ASSERT_H)
check_include_file(dlfcn.h HAVE_DLFCN_H)