mirror of
https://github.com/lubosz/overte.git
synced 2025-04-16 15:30:11 +02:00
call use modules after OpenNI is linked
This commit is contained in:
parent
10b57bca80
commit
c34bc4173b
1 changed files with 2 additions and 2 deletions
|
@ -80,8 +80,6 @@ include_directories(external/fervor/)
|
|||
# create the executable, make it a bundle on OS X
|
||||
add_executable(${TARGET_NAME} MACOSX_BUNDLE ${INTERFACE_SRCS})
|
||||
|
||||
qt5_use_modules(${TARGET_NAME} Core Gui Network OpenGL Svg)
|
||||
|
||||
# link in the hifi shared library
|
||||
include(${MACRO_DIR}/LinkHifiLibrary.cmake)
|
||||
|
||||
|
@ -110,6 +108,8 @@ if (OPENNI_FOUND)
|
|||
target_link_libraries(${TARGET_NAME} ${OPENNI_LIBRARIES})
|
||||
endif (OPENNI_FOUND)
|
||||
|
||||
qt5_use_modules(${TARGET_NAME} Core Gui Network OpenGL Svg)
|
||||
|
||||
# include headers for interface and InterfaceConfig.
|
||||
include_directories(
|
||||
${PROJECT_SOURCE_DIR}/src
|
||||
|
|
Loading…
Reference in a new issue