mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 23:55:12 +02:00
Suppress warnings for OpenNI.
This commit is contained in:
parent
5f3a37139f
commit
b1050c633b
1 changed files with 1 additions and 0 deletions
|
@ -101,6 +101,7 @@ find_package(OpenNI)
|
||||||
if (OPENNI_FOUND)
|
if (OPENNI_FOUND)
|
||||||
add_definitions(-DHAVE_OPENNI)
|
add_definitions(-DHAVE_OPENNI)
|
||||||
include_directories(SYSTEM ${OPENNI_INCLUDE_DIRS})
|
include_directories(SYSTEM ${OPENNI_INCLUDE_DIRS})
|
||||||
|
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -isystem ${OPENNI_INCLUDE_DIRS}")
|
||||||
target_link_libraries(${TARGET_NAME} ${OPENNI_LIBRARIES})
|
target_link_libraries(${TARGET_NAME} ${OPENNI_LIBRARIES})
|
||||||
endif (OPENNI_FOUND)
|
endif (OPENNI_FOUND)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue