diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2016-04-17 14:37:56 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2016-04-17 14:37:56 +0000 |
| commit | ffb298994905e1888188c1c8577ed0a2f7b7658d (patch) | |
| tree | 5a3f888979633399fdc8bb647213cc5548b087a9 | |
| parent | btool: exlude 'image-menu-item.c' from gtk2 builds (diff) | |
| parent | OS X Xcode clang 7.0.2 compile fix (diff) | |
| download | inkscape-ffb298994905e1888188c1c8577ed0a2f7b7658d.tar.gz inkscape-ffb298994905e1888188c1c8577ed0a2f7b7658d.zip | |
add check for unordered_set (CMake build)
(bzr r14858)
| -rw-r--r-- | CMakeScripts/ConfigChecks.cmake | 2 | ||||
| -rw-r--r-- | config.h.cmake | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/CMakeScripts/ConfigChecks.cmake b/CMakeScripts/ConfigChecks.cmake index a247f4e72..3d986d8dd 100644 --- a/CMakeScripts/ConfigChecks.cmake +++ b/CMakeScripts/ConfigChecks.cmake @@ -59,6 +59,8 @@ CHECK_INCLUDE_FILES(sys/types.h HAVE_SYS_TYPES_H) CHECK_INCLUDE_FILES(unistd.h HAVE_UNISTD_H) CHECK_INCLUDE_FILES(zlib.h HAVE_ZLIB_H) +CHECK_INCLUDE_FILE_CXX(unordered_set HAVE_NATIVE_UNORDERED_SET) + # Enable pango defines, necessary for compilation on Win32, how about Linux? # yes but needs to be done a better way if(HAVE_CAIRO_PDF) diff --git a/config.h.cmake b/config.h.cmake index a63768f74..3471caadf 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -237,6 +237,9 @@ /* Define to 1 if you have the <unistd.h> header file. */ #cmakedefine HAVE_UNISTD_H 1 +/* Define to 1 if you have the <unordered_set> header file. */ +#cmakedefine HAVE_NATIVE_UNORDERED_SET 1 + /* Define to 1 if you have the <zlib.h> header file. */ #cmakedefine HAVE_ZLIB_H 1 |
