Advertisement
Guest User

Untitled

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