don't force system include of GLM

This commit is contained in:
Stephen Birarda 2015-01-22 11:38:34 -08:00
parent 3d12ed95da
commit 21ecaafea9
2 changed files with 1 additions and 9 deletions

View file

@ -82,8 +82,6 @@ else ()
endif ()
set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} ${QT_CMAKE_PREFIX_PATH})
set(QT_QMAKE_EXECUTABLE ${QT_CMAKE_PREFIX_PATH}/../../bin/qmake)
message(STATUS "QT_QMAKE_EXECUTABLE set to ${QT_QMAKE_EXECUTABLE}")
# set our OS X deployment target to
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.8)

View file

@ -8,12 +8,6 @@
#
macro(INCLUDE_GLM)
find_package(GLM REQUIRED)
include_directories("${GLM_INCLUDE_DIRS}")
if (APPLE OR UNIX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -isystem ${GLM_INCLUDE_DIRS}")
endif ()
include_directories(SYSTEM "${GLM_INCLUDE_DIRS}")
endmacro(INCLUDE_GLM)