Fix compilation on GCC

This commit is contained in:
Matt Williams 2010-05-24 20:12:09 +00:00
parent 7ffcd0c7ed
commit 7a3f3b2b28
3 changed files with 6 additions and 0 deletions

View File

@ -20,6 +20,10 @@ IF(WIN32)
#SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) #SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
ENDIF(WIN32) ENDIF(WIN32)
IF(CMAKE_COMPILER_IS_GNUCXX) #Maybe "OR MINGW"
ADD_DEFINITIONS(-std=c++0x) #Enable C++0x mode
ENDIF()
ADD_SUBDIRECTORY(library) ADD_SUBDIRECTORY(library)
OPTION(ENABLE_EXAMPLES "Should the examples be built" ON) OPTION(ENABLE_EXAMPLES "Should the examples be built" ON)

View File

@ -28,6 +28,7 @@ freely, subject to the following restrictions:
#include <vector> #include <vector>
#include <set> #include <set>
#include <memory>
#include "PolyVoxForwardDeclarations.h" #include "PolyVoxForwardDeclarations.h"
#include "Region.h" #include "Region.h"

View File

@ -33,6 +33,7 @@ freely, subject to the following restrictions:
#include <limits> #include <limits>
#include <map> #include <map>
#include <vector> #include <vector>
#include <memory>
#pragma endregion #pragma endregion