Skip to content

Commit 45d389f

Browse files
author
Sergei Golubchik
committed
lzo.cmake: don't use the same symbol for two different tests
1 parent 6d46076 commit 45d389f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/lzo.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ ENDMACRO()
2626
MACRO (MYSQL_CHECK_LZO)
2727

2828
CHECK_INCLUDE_FILES(lzo/lzo1x.h HAVE_LZO_H)
29-
CHECK_LIBRARY_EXISTS(lzo2 lzo1x_1_compress "" HAVE_LZO_LIB)
29+
CHECK_LIBRARY_EXISTS(lzo2 lzo1x_1_compress "" HAVE_LZO_SHARED_LIB)
3030

31-
IF(HAVE_LZO_LIB AND HAVE_LZO_H)
31+
IF(HAVE_LZO_SHARED_LIB AND HAVE_LZO_H)
3232
ADD_DEFINITIONS(-DHAVE_LZO=1)
3333
LINK_LIBRARIES(lzo2)
3434
ENDIF()

0 commit comments

Comments
 (0)