diff --git a/CMakeLists.txt b/CMakeLists.txt index 8b60f4cf1..ccabb3b7e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,6 +20,8 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS Plasma PlasmaQuick WindowSystem Declarative I18n CoreAddons XmlGui DBusAddons Notifications) +include(FakeTarget.cmake) + FIND_PROGRAM(GETTEXT_MSGFMT_EXECUTABLE msgfmt) IF(NOT GETTEXT_MSGFMT_EXECUTABLE) diff --git a/FakeTarget.cmake b/FakeTarget.cmake index 3de61ee63..a42dac188 100644 --- a/FakeTarget.cmake +++ b/FakeTarget.cmake @@ -1,4 +1,4 @@ -execute_process(COMMAND find plasmoid containment -name "*.qml" -o -name "*.js" +execute_process(COMMAND find shell containment plasmoid -name "*.qml" -o -name "*.js" WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} OUTPUT_VARIABLE QML_SRCS_STRING)