changeset 2452:383337f21655

fix os x
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 03 Jan 2018 15:17:12 +0100
parents a4032b162502
children c50413a4092c
files Resources/CMake/UuidConfiguration.cmake
diffstat 1 files changed, 8 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/CMake/UuidConfiguration.cmake	Wed Jan 03 13:07:57 2018 +0100
+++ b/Resources/CMake/UuidConfiguration.cmake	Wed Jan 03 15:17:12 2018 +0100
@@ -29,11 +29,15 @@
       ${E2FSPROGS_SOURCES_DIR}/lib/uuid/uuid.h.in
       ${E2FSPROGS_SOURCES_DIR}/lib/uuid/uuid.h
       )
+
+    file(WRITE
+      ${E2FSPROGS_SOURCES_DIR}/lib/uuid/uuid_types.h
+      "#include <stdint.h>\n")
     
-    configure_file(
-      ${E2FSPROGS_SOURCES_DIR}/lib/uuid/uuid_types.h.in
-      ${E2FSPROGS_SOURCES_DIR}/lib/uuid/uuid_types.h
-      )
+    #configure_file(
+    #  ${E2FSPROGS_SOURCES_DIR}/lib/uuid/uuid_types.h.in
+    #  ${E2FSPROGS_SOURCES_DIR}/lib/uuid/uuid_types.h
+    #  )
     
     source_group(ThirdParty\\uuid REGULAR_EXPRESSION ${E2FSPROGS_SOURCES_DIR}/.*)