From 23152abce7612e78e6a06126399d71a49ff68e62 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Wed, 14 Aug 2013 15:34:57 -0700 Subject: [PATCH] suppress warnings for glm headers that pop up in Xcode 5 --- cmake/macros/IncludeGLM.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/macros/IncludeGLM.cmake b/cmake/macros/IncludeGLM.cmake index c5530bf8c9..ba47c3d28e 100644 --- a/cmake/macros/IncludeGLM.cmake +++ b/cmake/macros/IncludeGLM.cmake @@ -2,4 +2,5 @@ MACRO(INCLUDE_GLM TARGET ROOT_DIR) set(GLM_ROOT_DIR ${ROOT_DIR}/externals) find_package(GLM REQUIRED) include_directories(${GLM_INCLUDE_DIRS}) + SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -isystem ${GLM_INCLUDE_DIRS}") ENDMACRO(INCLUDE_GLM _target _root_dir) \ No newline at end of file