Skip to content

Commit

Permalink
move QT_NO_DEBUG conditional out of mkspecs
Browse files Browse the repository at this point in the history
Signed-off-by: Ivailo Monev <[email protected]>
  • Loading branch information
fluxer committed Feb 8, 2021
1 parent a0679c8 commit 8450198
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,10 @@ if(NOT WITH_EXECINFO OR NOT EXECINFO_FOUND)
endif()

# optional and conditional features
if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
katie_definition(-DQT_NO_DEBUG)
endif()

if(NOT WITH_ACCESSIBILITY)
katie_definition(-DQT_NO_ACCESSIBILITY)
endif()
Expand Down
4 changes: 0 additions & 4 deletions mkspecs/mkspecs.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,3 @@ elseif(CMAKE_SYSTEM_NAME MATCHES "(FreeBSD|DragonFly)")
elseif(NOT CMAKE_SYSTEM_NAME MATCHES "(OpenBSD|NetBSD|Solaris|SunOS)")
message(FATAL_ERROR "Unknown platform '${CMAKE_SYSTEM_NAME}'")
endif()

if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
katie_definition(-DQT_NO_DEBUG)
endif()

0 comments on commit 8450198

Please sign in to comment.