Skip to content

Commit

Permalink
Include KDECMakeSettings with NO_POLICY_SCOPE
Browse files Browse the repository at this point in the history
This is recommended to avoid warnings with some versions of cmake,
according the documentation:
https://api.kde.org/ecm/kde-module/KDECMakeSettings.html
  • Loading branch information
tosky committed Sep 29, 2018
1 parent 4c2e64c commit 38f4248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ find_package(Qt5 REQUIRED COMPONENTS
Xml
)

include(KDECompilerSettings)
include(KDECompilerSettings NO_POLICY_SCOPE)
include(KDEInstallDirs)
include(ECMInstallIcons)
include(KDECMakeSettings)
Expand Down

0 comments on commit 38f4248

Please sign in to comment.