浏览代码

fix build: no c++11 support

Signed-off-by: Kim Kulling <[email protected]>
Kim Kulling 10 年之前
父节点
当前提交
065ad7173a
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      CMakeLists.txt

+ 2 - 0
CMakeLists.txt

@@ -11,6 +11,8 @@ set (PROJECT_VERSION "${ASSIMP_VERSION}")
 
 
 set(ASSIMP_PACKAGE_VERSION "0" CACHE STRING "the package-specific version used for uploading the sources")
 set(ASSIMP_PACKAGE_VERSION "0" CACHE STRING "the package-specific version used for uploading the sources")
 
 
+add_definitions( -DOPENDDL_NO_USE_CPP11 )
+
 # Get the current working branch
 # Get the current working branch
 execute_process(
 execute_process(
     COMMAND git rev-parse --abbrev-ref HEAD
     COMMAND git rev-parse --abbrev-ref HEAD