Skip to content
Snippets Groups Projects
Commit 3cc7fe32 authored by Aurélien Gâteau's avatar Aurélien Gâteau
Browse files

Rename config.h to CalamaresConfig.h

Avoid name clashes with partitionmanager's config.h
parent 9b15b283
No related branches found
No related tags found
No related merge requests found
......@@ -5,8 +5,8 @@ add_definitions( -DQT_SHARED )
add_definitions( -DQT_SHAREDPOINTER_TRACK_POINTERS )
add_definitions( -DDLLEXPORT_PRO )
configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/Config.h.in
${CMAKE_CURRENT_BINARY_DIR}/config.h )
configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/CalamaresConfig.h.in
${CMAKE_CURRENT_BINARY_DIR}/CalamaresConfig.h )
configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/../calamares/CalamaresVersion.h.in
${CMAKE_CURRENT_BINARY_DIR}/CalamaresVersion.h )
......@@ -61,7 +61,7 @@ file( GLOB rootHeaders "*.h" )
file( GLOB kdsingleapplicationguardHeaders "kdsingleapplicationguard/*.h" )
file( GLOB utilsHeaders "utils/*.h" )
install( FILES ${CMAKE_CURRENT_BINARY_DIR}/config.h DESTINATION include/libcalamares )
install( FILES ${CMAKE_CURRENT_BINARY_DIR}/CalamaresConfig.h DESTINATION include/libcalamares )
install( FILES ${rootHeaders} DESTINATION include/libcalamares )
install( FILES ${kdsingleapplicationguardHeaders} DESTINATION include/libcalamares/kdsingleapplicationguard )
install( FILES ${utilsHeaders} DESTINATION include/libcalamares/utils )
#ifndef CONFIG_H_IN
#define CONFIG_H_IN
#ifndef CALAMARESCONFIG_H
#define CALAMARESCONFIG_H
#define CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}"
#define CMAKE_INSTALL_FULL_LIBEXECDIR "${CMAKE_INSTALL_FULL_LIBEXECDIR}"
......@@ -9,4 +9,4 @@
//cmakedefines for CMake variables (e.g. for optdepends) go here
#endif // CONFIG_H_IN
#endif // CALAMARESCONFIG_H
......@@ -23,7 +23,7 @@
#include "CalamaresUtils.h"
#include "config.h"
#include "CalamaresConfig.h"
#include <QCoreApplication>
#include <QDebug>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment