Skip to content

Commit f1beb8b

Browse files
Tor DidriksenHery Ramilison
authored andcommitted
Bug#25111489 GROUP REPLICATION BREAKS CMAKE --DFOO=SYSTEM BUILD
Change-Id: Ibaa0fad470ed3b1f5a89ea020cff2b38901568e1 Fix: include compile_flags.cmake Also: fix broken unit test build for -DWITH_LIBEVENT=system (cherry picked from commit 616c85f600817cc9073d85ea8db7077f5ec33b0d)
1 parent 75e7e74 commit f1beb8b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

rapid/plugin/group_replication/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
### DEFINITIONS ###
1717

1818
INCLUDE(configure.cmake)
19+
INCLUDE(${MYSQL_CMAKE_SCRIPT_DIR}/compile_flags.cmake)
1920

2021
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/mysql_gcs.h.cmake
2122
${CMAKE_CURRENT_BINARY_DIR}/include/mysql/gcs/mysql_gcs.h)

rapid/unittest/gunit/xplugin/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ TARGET_LINK_LIBRARIES(
138138
gmock
139139
mysqlservices
140140
mysqlclient
141-
${LIBEVENT_LIBRARY}
141+
${LIBEVENT_LIBRARY} ${LIBEVENT_LIBRARIES}
142142
${CMAKE_THREAD_LIBS_INIT}
143143
${PROTOBUF_LIBRARY}
144144
${GCOV_LDFLAGS}

0 commit comments

Comments
 (0)