heikobecker created this revision. heikobecker added a reviewer: Plasma. Restricted Application added a project: Plasma. Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY It needs to be placed before find_package(KF5Init) in this case because of KF5InitMacros. Otherwise I still get "CMake Warning (dev) at /usr/host/lib/cmake/KF5Init/KF5InitMacros.cmake:43 (add_executable): Policy CMP0063 is not set: Honor visibility properties for all target" despite the NO_POLICY_SCOPE flag. TEST PLAN Warning disappears, still builds fine. REPOSITORY rKDECLITOOLS KDE CLI Utilities BRANCH Plasma/5.7 REVISION DETAIL https://phabricator.kde.org/D2563 AFFECTED FILES CMakeLists.txt EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: heikobecker, #plasma Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas