mirror of
https://github.com/gqrx-sdr/gqrx.git
synced 2024-09-21 10:47:10 +00:00
Avoid naming collision in Debug builds
This commit is contained in:
parent
91fa8b4925
commit
d5f8e00825
@ -38,6 +38,9 @@ if(${CMAKE_BUILD_TYPE} MATCHES "Valgrind")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O0")
|
||||
endif()
|
||||
|
||||
# Workaround for naming collision with log4cpp for Debug builds
|
||||
add_definitions(-DLOG4CPP_FIX_ERROR_COLLISION=1)
|
||||
|
||||
# Disable debug outputs in release builds
|
||||
if(${CMAKE_BUILD_TYPE} MATCHES "Release" OR ${CMAKE_BUILD_TYPE} MATCHES "RelWithDebInfo")
|
||||
add_definitions(-DQT_NO_DEBUG_OUTPUT)
|
||||
|
Loading…
Reference in New Issue
Block a user