summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-12-11 15:03:32 +0100
committerAndreas Schneider <asn@samba.org>2013-12-11 16:27:40 +0100
commitc01846db2d31b2125d0b1e6bcfc4c38de345d52a (patch)
tree4bc20ed91281ee264f5296ed66f030c597a76093 /ConfigureChecks.cmake
parent20467324a5508d8efafb087faf1914c87529f052 (diff)
downloadsocket_wrapper-c01846db2d31b2125d0b1e6bcfc4c38de345d52a.tar.gz
socket_wrapper-c01846db2d31b2125d0b1e6bcfc4c38de345d52a.tar.xz
socket_wrapper-c01846db2d31b2125d0b1e6bcfc4c38de345d52a.zip
Fix formatting of variables of type pid_t
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 5b4813b..995f8ce 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -192,4 +192,6 @@ if (NOT WIN32)
test_big_endian(WORDS_BIGENDIAN)
endif (NOT WIN32)
+check_type_size(pid_t SIZEOF_PID_T)
+
set(SWRAP_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} CACHE INTERNAL "swrap required system libraries")