mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-21 07:15:40 -04:00
CMake: Swap USE_ and WITH_ for ENABLE_
Consistency.
This commit is contained in:
@ -94,7 +94,7 @@ if(NOT WIN32 AND NOT ANDROID)
|
||||
)
|
||||
|
||||
if(LIBBACKTRACE_FOUND)
|
||||
target_compile_definitions(common PRIVATE "-DUSE_LIBBACKTRACE=1")
|
||||
target_compile_definitions(common PRIVATE "-DENABLE_LIBBACKTRACE=1")
|
||||
target_link_libraries(common PRIVATE libbacktrace::libbacktrace)
|
||||
endif()
|
||||
endif()
|
||||
|
@ -202,7 +202,7 @@ void CrashHandler::Uninstall()
|
||||
}
|
||||
}
|
||||
|
||||
#elif defined(USE_LIBBACKTRACE)
|
||||
#elif defined(ENABLE_LIBBACKTRACE)
|
||||
|
||||
#include <backtrace.h>
|
||||
#include <cstdarg>
|
||||
|
Reference in New Issue
Block a user