Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From 6f074d5b4ae795af81f253a0d2722184547919a1 Mon Sep 17 00:00:00 2001
- From: Sergei Reznikov <diver@gelios.net>
- Date: Mon, 16 Dec 2019 16:01:30 +0300
- Subject: don't default to using debug build type on Haiku...
- if the source directory is a git clone
- diff --git a/kde-modules/KDECompilerSettings.cmake b/kde-modules/KDECompilerSettings.cmake
- index 11e7f56..fdc081f 100644
- --- a/kde-modules/KDECompilerSettings.cmake
- +++ b/kde-modules/KDECompilerSettings.cmake
- @@ -74,7 +74,7 @@ include("${ECM_MODULE_DIR}/ECMSourceVersionControl.cmake")
- # source directory is a git clone.
- # Otherwise, leave it empty, to let distro packagers choose the flags.
- ############################################################
- -if (ECM_SOURCE_UNDER_VERSION_CONTROL AND NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
- +if (ECM_SOURCE_UNDER_VERSION_CONTROL AND NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES AND NOT HAIKU)
- set(default_build_type "Debug")
- message(STATUS "Setting build type to '${default_build_type}' as none was specified.")
- set_property(CACHE CMAKE_BUILD_TYPE PROPERTY VALUE "${default_build_type}")
- --
- 2.24.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement