diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-01-07 12:56:46 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-01-07 12:56:46 (GMT) |
commit | 9629ef3f969e31dfd19efa27e62487fc46610416 (patch) | |
tree | 5e8e260de55b4e65dd49f2d81d2fc61b46844224 /CMakeLists.txt | |
parent | 0388c7ac478187ff8d264b6e0275a4c4a43796b9 (diff) | |
download | uscxml-9629ef3f969e31dfd19efa27e62487fc46610416.zip uscxml-9629ef3f969e31dfd19efa27e62487fc46610416.tar.gz uscxml-9629ef3f969e31dfd19efa27e62487fc46610416.tar.bz2 |
Fixes for the Prolog datamodel
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index da50553..8d0f671 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -339,6 +339,10 @@ if(${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU") add_definitions(-Wno-narrowing) endif() + if(GCC_VERSION VERSION_EQUAL 4.8 OR GCC_VERSION VERSION_GREATER 4.8) + add_definitions(-Wno-unused-local-typedefs) + endif() + # swig will throw a warning with optimization otherwise add_definitions(-fno-strict-aliasing) add_definitions("-Wno-unused-value -Wno-sign-compare") @@ -515,7 +519,7 @@ if (NOT WIN32) # message("CMAKE_FIND_ROOT_PATH: ${CMAKE_FIND_ROOT_PATH}") # MacOSX Mavericks moved libxml2 into SDK - if (APPLE AND ${MACOSX_VERSION} VERSION_LESS "10.9.0") + if (APPLE AND "${MACOSX_VERSION}" VERSION_LESS "10.9.0") set(PC_LIBXML_INCLUDEDIR "/usr/include/libxml2/") endif() |