diff --git a/.gitignore b/.gitignore index 3e133a61..9e40d861 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,7 @@ autom4te.cache config.log config.status config.h* +!config.h.in configure po/POTFILES stamp-h1 diff --git a/CMakeLists.txt b/CMakeLists.txt index 6252ae01..2715e91b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -387,5 +387,3 @@ if (CMAKE_DEBUG_INCLUDES_LDFLAGS) message ("Include directories: ${xournalpp_INCLUDE_DIRS}") message ("LDFLAGS/LIBRARIES: ${xournalpp_LDFLAGS}") endif (CMAKE_DEBUG_INCLUDES_LDFLAGS) - -set(CMAKE_BUILD_TYPE Debug) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index fde413f1..72d82c70 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -25,8 +25,6 @@ endif () option (DEBUG_COMPILE "Pass -Wall to CXX_FLAGS" OFF) mark_as_advanced (FORCE DEBUG_COMPILE) -set(CMAKE_CXX_FLAGS "-fpermissive") - if (DEBUG_COMPILE) add_definitions (-Wall) endif (DEBUG_COMPILE)