diff options
-rw-r--r-- | tests/manual/cmake/pass1/CMakeLists.txt | 3 | ||||
-rw-r--r-- | tests/manual/cmake/pass2/CMakeLists.txt | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/tests/manual/cmake/pass1/CMakeLists.txt b/tests/manual/cmake/pass1/CMakeLists.txt index 5ac608058..2220db484 100644 --- a/tests/manual/cmake/pass1/CMakeLists.txt +++ b/tests/manual/cmake/pass1/CMakeLists.txt @@ -4,7 +4,6 @@ cmake_minimum_required(VERSION 2.8) project(pass1) find_package(Qt5Core REQUIRED) -find_package(Qt5Xml REQUIRED) find_package(Qt5DBus REQUIRED) find_package(Qt5DBusTools REQUIRED) @@ -13,6 +12,8 @@ include_directories( ${Qt5DBus_INCLUDE_DIRS} ) +add_definitions(${Qt5DBus_DEFINITIONS}) + set(CMAKE_INCLUDE_CURRENT_DIR ON) set(my_srcs mydbusobject.cpp) diff --git a/tests/manual/cmake/pass2/CMakeLists.txt b/tests/manual/cmake/pass2/CMakeLists.txt index 239450442..e07c97125 100644 --- a/tests/manual/cmake/pass2/CMakeLists.txt +++ b/tests/manual/cmake/pass2/CMakeLists.txt @@ -10,6 +10,8 @@ include_directories( ${Qt5Core_INCLUDE_DIRS} ) +add_definitions(${Qt5Core_DEFINITIONS}) + set(my_srcs myi18nobject.cpp) qt5_create_translation(qm_files ${my_srcs} myobject_de.ts) |