Skip to content

Commit

Permalink
Merge pull request #1 from percona-ysorokin/uuid_vx_review_by_yura
Browse files Browse the repository at this point in the history
UUID vx review by yura (partial)
  • Loading branch information
lukin-oleksiy authored Jun 6, 2024
2 parents 985b5f1 + 8c3cd74 commit 95bfada
Show file tree
Hide file tree
Showing 7 changed files with 126 additions and 109 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2175,8 +2175,6 @@ IF(WITH_ENCRYPTION_UDF)
ADD_SUBDIRECTORY(extra/opensslpp)
ENDIF()

OPTION(WITH_UUID_VX_UDF "Build UUID_VX UDF plugin" ON)

# Utility target to build every executable tagged with ADD_TEST.
ADD_CUSTOM_TARGET(unittest_all)

Expand Down
8 changes: 6 additions & 2 deletions components/uuid_vx_udf/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

option(WITH_UUID_VX_UDF "Build UUID_VX UDF plugin" ON)

if(WITH_UUID_VX_UDF)
message(STATUS "Building UUID_VX UDF component")
else()
Expand All @@ -29,6 +31,8 @@ MYSQL_ADD_COMPONENT(uuid_vx_udf
MODULE_ONLY
)

target_link_libraries(component_uuid_vx_udf PRIVATE "atomic")

target_include_directories(component_uuid_vx_udf SYSTEM PRIVATE ${BOOST_PATCHES_DIR} ${BOOST_INCLUDE_DIR})

if(NOT APPLE)
target_link_libraries(component_uuid_vx_udf PRIVATE atomic)
endif()
Loading

0 comments on commit 95bfada

Please sign in to comment.