summaryrefslogtreecommitdiffstats
path: root/smtk-import/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar Salvador Cuñat <salvador.cunat@gmail.com>2015-11-13 19:16:11 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-01-05 13:14:01 -0800
commit56b442ff979c060a5340853d10508a1d74ec9580 (patch)
tree8cb8a2536c1604b694cc03dec1be95846e5d3b7c /smtk-import/CMakeLists.txt
parent82bd9e3f0b7c67806017fb90aa80b0bcf4eac0f3 (diff)
downloadsubsurface-56b442ff979c060a5340853d10508a1d74ec9580.tar.gz
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>
Diffstat (limited to 'smtk-import/CMakeLists.txt')
-rw-r--r--smtk-import/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/smtk-import/CMakeLists.txt b/smtk-import/CMakeLists.txt
index 93fbb847d..c49eeac3f 100644
--- a/smtk-import/CMakeLists.txt
+++ b/smtk-import/CMakeLists.txt
@@ -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})