Skip to content

Commit eab2d5d

Browse files
committed
Use ADD_LIBRARY() instead of ADD_CONVENIENCE_LIBRARY()
ADD_CONVENIENCE_LIBRARY() is defined in MySQL's cmake/libutils.cmake. It will not be defined if this project is compiled standalone.
1 parent 1ec58c8 commit eab2d5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ INCLUDE_DIRECTORIES(".")
1919

2020
SET(WSREP_SOURCES wsrep_gtid.c wsrep_uuid.c wsrep_loader.c wsrep_dummy.c)
2121

22-
ADD_CONVENIENCE_LIBRARY(wsrep ${WSREP_SOURCES})
22+
ADD_LIBRARY(wsrep ${WSREP_SOURCES})
2323

2424
#ADD_EXECUTABLE(listener wsrep_listener.c ${WSREP_SOURCES})
2525
#TARGET_LINK_LIBRARIES(listener ${LIBDL})

0 commit comments

Comments
 (0)