mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02:00
link STK to interface
This commit is contained in:
parent
a182c01b76
commit
d55387f727
1 changed files with 6 additions and 0 deletions
|
@ -99,6 +99,10 @@ find_package(OpenNI)
|
|||
find_package(UVCCameraControl)
|
||||
find_package(ZLIB)
|
||||
|
||||
# link the stk library
|
||||
set(STK_ROOT_DIR ${ROOT_DIR}/externals/stk)
|
||||
find_package(STK REQUIRED)
|
||||
|
||||
# let the source know that we have OpenNI/NITE for Kinect
|
||||
if (OPENNI_FOUND)
|
||||
add_definitions(-DHAVE_OPENNI)
|
||||
|
@ -122,6 +126,7 @@ include_directories(
|
|||
${LEAP_INCLUDE_DIRS}
|
||||
${MOTIONDRIVER_INCLUDE_DIRS}
|
||||
${OPENCV_INCLUDE_DIRS}
|
||||
${STK_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -isystem ${OPENCV_INCLUDE_DIRS}")
|
||||
|
@ -131,6 +136,7 @@ target_link_libraries(
|
|||
${MOTIONDRIVER_LIBRARIES}
|
||||
${OPENCV_LIBRARIES}
|
||||
${ZLIB_LIBRARIES}
|
||||
${STK_LIBRARIES}
|
||||
fervor
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue