[cmake] move WITH_VERBOSE_WINPR_ASSERT

Since the definition is common to FreeRDP and WinPR move it to
CommonConfigOptions
This commit is contained in:
akallabeth
2024-08-29 08:44:39 +02:00
parent efde29f362
commit 3b8dc5c183
3 changed files with 6 additions and 13 deletions

View File

@@ -5,6 +5,12 @@ option(WITH_LIBRARY_VERSIONING "Use library version triplet" ON)
option(WITH_BINARY_VERSIONING "Use binary versioning" OFF)
option(BUILD_SHARED_LIBS "Build shared libraries" ON)
# We want to control the winpr assert for the whole project
option(WITH_VERBOSE_WINPR_ASSERT "Compile with verbose WINPR_ASSERT." ON)
if (WITH_VERBOSE_WINPR_ASSERT)
add_definitions(-DWITH_VERBOSE_WINPR_ASSERT)
endif()
# known issue on android, thus disabled until we support newer CMake
# https://github.com/android/ndk/issues/1444
if (NOT ANDROID)