Added winpr assert config option for standalone build

This commit is contained in:
Armin Novak 2021-06-22 09:15:33 +02:00 committed by akallabeth
parent b11ea98772
commit 8e3997b294

View File

@ -993,6 +993,12 @@ if (FREERDP_UNIFIED_BUILD)
else()
find_package(WinPR 3 REQUIRED)
include_directories(${WinPR_INCLUDE_DIR})
# 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()
endif()
# Sub-directories