Skip to content

Commit e4dc78b

Browse files
committed
Disable debug output for release builds
1 parent b4767d7 commit e4dc78b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/hyperiond/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ add_executable(${PROJECT_NAME} WIN32 MACOSX_BUNDLE
5757
${MACOS_BUNDLE_RESOURCE_FILES}
5858
)
5959

60+
# Disable debug output for release builds
61+
target_compile_definitions(${PROJECT_NAME} PRIVATE $<$<CONFIG:Release>:QT_NO_DEBUG_OUTPUT>)
62+
6063
find_package(OpenSSL QUIET)
6164
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS DBus QUIET)
6265
target_link_libraries(${PROJECT_NAME}

0 commit comments

Comments
 (0)