From 107f255620b6284de118aa1f358ab6cf99862ae9 Mon Sep 17 00:00:00 2001 From: Alex Merry Date: Wed, 17 Dec 2014 20:33:32 +0000 Subject: Make KDEInstallDirs provide KDE_INSTALL_* variables. Creating variables whose names start with CMAKE_ is a bad idea for modules distributed outside CMake itself. Since the module is called KDEInstallDirs, having a KDE_INSTALL_ prefix for the variables is clear and intuitive. Both CMAKE_INSTALL_* variables and the older KDELibs4-compatible variables are provided, unless KDE_INSTALL_DIRS_NO_DEPRECATED is set to TRUE before the module is included. Even then, the CMAKE_INSTALL_* variables provided by the GNUInstallDirs module will still be set and understood (for compatibility with that module), unless KDE_INSTALL_DIRS_NO_CMAKE_VARIABLES is set to TRUE. REVIEW: 121646 --- tests/KDEInstallDirsTest/vars_in_sync/main.c | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tests/KDEInstallDirsTest/vars_in_sync/main.c (limited to 'tests/KDEInstallDirsTest/vars_in_sync/main.c') diff --git a/tests/KDEInstallDirsTest/vars_in_sync/main.c b/tests/KDEInstallDirsTest/vars_in_sync/main.c new file mode 100644 index 00000000..c13815ce --- /dev/null +++ b/tests/KDEInstallDirsTest/vars_in_sync/main.c @@ -0,0 +1,4 @@ +int main() +{ + return 0; +} -- cgit v1.2.1