SmartTrak import - Add building out of source tree

Enables auto uic in smtk-import directory and sets
CMAKE_INCLUDE_CURRENT_DIR to ON

Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com>
This commit is contained in:
Salvador Cuñat 2015-11-13 19:16:11 +01:00 committed by Dirk Hohndel
parent 82bd9e3f0b
commit 56b442ff97

View file

@ -1,10 +1,12 @@
set(CMAKE_AUTOUIC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(SMTK_IMPORT_SRCS
smartrak.c
smrtk2ssrfc_window.ui
smrtk2ssrfc_window.h
smrtk2ssrfc_window.cpp
)
source_group("SmartTrak Import libs" FILES ${SMTK_IMPORT_SRCS})
source_group("SmartTrak Import libs" FILES ${SMTK_IMPORT_SRCS})
add_library(smtk_import STATIC ${SMTK_IMPORT_SRCS})
target_link_libraries(smtk_import subsurface_corelib ${SUBSURFACE_LINK_LIBRARIES})