diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2016-12-06 15:42:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-12-07 13:24:06 (GMT) |
commit | 2da0875f3a8cc91a8355298cc8da0a34f98acf09 (patch) | |
tree | ee0277cc8b09550045363d2f7af5d717bfeccf92 /Tests/QtAutoUicInterface | |
parent | 5961db41436081f0ff936ba56a7053f51551afc1 (diff) | |
download | CMake-2da0875f3a8cc91a8355298cc8da0a34f98acf09.zip CMake-2da0875f3a8cc91a8355298cc8da0a34f98acf09.tar.gz CMake-2da0875f3a8cc91a8355298cc8da0a34f98acf09.tar.bz2 |
QtAutogen: Tests: Update ui_ include lookup directory
Diffstat (limited to 'Tests/QtAutoUicInterface')
-rw-r--r-- | Tests/QtAutoUicInterface/CMakeLists.txt | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Tests/QtAutoUicInterface/CMakeLists.txt b/Tests/QtAutoUicInterface/CMakeLists.txt index 555f016..70175fb 100644 --- a/Tests/QtAutoUicInterface/CMakeLists.txt +++ b/Tests/QtAutoUicInterface/CMakeLists.txt @@ -1,5 +1,5 @@ -cmake_minimum_required(VERSION 2.8.12) +cmake_minimum_required(VERSION 3.7) project(QtAutoUicInterface) @@ -21,7 +21,6 @@ else() endif() set(CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE ON) -set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_AUTOMOC ON) set(CMAKE_AUTOUIC ON) @@ -65,6 +64,6 @@ target_link_libraries(MyWidget KI18n ${QT_GUI_TARGET}) add_executable(QtAutoUicInterface main.cpp) target_compile_definitions(QtAutoUicInterface PRIVATE - UI_LIBWIDGET_H="${CMAKE_CURRENT_BINARY_DIR}/ui_libwidget.h" - UI_MYWIDGET_H="${CMAKE_CURRENT_BINARY_DIR}/ui_mywidget.h" + UI_LIBWIDGET_H="${CMAKE_CURRENT_BINARY_DIR}/LibWidget_autogen/include/ui_libwidget.h" + UI_MYWIDGET_H="${CMAKE_CURRENT_BINARY_DIR}/MyWidget_autogen/include/ui_mywidget.h" ) |