mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +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)
|
||||
add_definitions(-DHAVE_OPENNI)
|
||||
include_directories(SYSTEM ${OPENNI_INCLUDE_DIRS})
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -isystem ${OPENNI_INCLUDE_DIRS}")
|
||||
target_link_libraries(${TARGET_NAME} ${OPENNI_LIBRARIES})
|
||||
endif (OPENNI_FOUND)
|
||||
|
||||
|
|
Loading…
Reference in a new issue