Fix compilation on GCC
This commit is contained in:
parent
7ffcd0c7ed
commit
7a3f3b2b28
@ -20,6 +20,10 @@ IF(WIN32)
|
||||
#SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
|
||||
ENDIF(WIN32)
|
||||
|
||||
IF(CMAKE_COMPILER_IS_GNUCXX) #Maybe "OR MINGW"
|
||||
ADD_DEFINITIONS(-std=c++0x) #Enable C++0x mode
|
||||
ENDIF()
|
||||
|
||||
ADD_SUBDIRECTORY(library)
|
||||
|
||||
OPTION(ENABLE_EXAMPLES "Should the examples be built" ON)
|
||||
|
@ -28,6 +28,7 @@ freely, subject to the following restrictions:
|
||||
|
||||
#include <vector>
|
||||
#include <set>
|
||||
#include <memory>
|
||||
|
||||
#include "PolyVoxForwardDeclarations.h"
|
||||
#include "Region.h"
|
||||
|
@ -33,6 +33,7 @@ freely, subject to the following restrictions:
|
||||
#include <limits>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
|
||||
#pragma endregion
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user