mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-06 14:23:23 +02:00
don't force system include of GLM
This commit is contained in:
parent
3d12ed95da
commit
21ecaafea9
2 changed files with 1 additions and 9 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
Loading…
Reference in a new issue