wfreerdp: fix test build issues
This commit is contained in:
parent
851ace73ff
commit
9bdfbcd556
@ -407,6 +407,7 @@ BYTE bmp_PATINVERT[256] =
|
|||||||
|
|
||||||
int CompareBitmaps(HGDI_BITMAP hBmp1, HGDI_BITMAP hBmp2)
|
int CompareBitmaps(HGDI_BITMAP hBmp1, HGDI_BITMAP hBmp2)
|
||||||
{
|
{
|
||||||
|
int bpp;
|
||||||
int x, y;
|
int x, y;
|
||||||
BYTE *p1, *p2;
|
BYTE *p1, *p2;
|
||||||
|
|
||||||
@ -417,7 +418,7 @@ int CompareBitmaps(HGDI_BITMAP hBmp1, HGDI_BITMAP hBmp2)
|
|||||||
{
|
{
|
||||||
p1 = hBmp1->data;
|
p1 = hBmp1->data;
|
||||||
p2 = hBmp2->data;
|
p2 = hBmp2->data;
|
||||||
int bpp = hBmp1->bitsPerPixel;
|
bpp = hBmp1->bitsPerPixel;
|
||||||
|
|
||||||
if (bpp == 32)
|
if (bpp == 32)
|
||||||
{
|
{
|
||||||
|
@ -16,8 +16,15 @@ create_test_sourcelist(${MODULE_PREFIX}_SRCS
|
|||||||
${${MODULE_PREFIX}_DRIVER}
|
${${MODULE_PREFIX}_DRIVER}
|
||||||
${${MODULE_PREFIX}_TESTS})
|
${${MODULE_PREFIX}_TESTS})
|
||||||
|
|
||||||
|
include_directories(${ZLIB_INCLUDE_DIRS})
|
||||||
|
include_directories(${OPENSSL_INCLUDE_DIR})
|
||||||
|
|
||||||
add_executable(${MODULE_NAME} ${${MODULE_PREFIX}_SRCS})
|
add_executable(${MODULE_NAME} ${${MODULE_PREFIX}_SRCS})
|
||||||
|
|
||||||
|
set(${MODULE_PREFIX}_LIBS
|
||||||
|
${ZLIB_LIBRARIES}
|
||||||
|
${OPENSSL_LIBRARIES})
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
set(${MODULE_PREFIX}_LIBS ${${MODULE_PREFIX}_LIBS} secur32 crypt32)
|
set(${MODULE_PREFIX}_LIBS ${${MODULE_PREFIX}_LIBS} secur32 crypt32)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user