Skip to content

Commit 95bfada

Browse files
Merge pull request #1 from percona-ysorokin/uuid_vx_review_by_yura
UUID vx review by yura (partial)
2 parents 985b5f1 + 8c3cd74 commit 95bfada

File tree

7 files changed

+126
-109
lines changed

7 files changed

+126
-109
lines changed

CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2175,8 +2175,6 @@ IF(WITH_ENCRYPTION_UDF)
21752175
ADD_SUBDIRECTORY(extra/opensslpp)
21762176
ENDIF()
21772177

2178-
OPTION(WITH_UUID_VX_UDF "Build UUID_VX UDF plugin" ON)
2179-
21802178
# Utility target to build every executable tagged with ADD_TEST.
21812179
ADD_CUSTOM_TARGET(unittest_all)
21822180

components/uuid_vx_udf/CMakeLists.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
# along with this program; if not, write to the Free Software
1515
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1616

17+
option(WITH_UUID_VX_UDF "Build UUID_VX UDF plugin" ON)
18+
1719
if(WITH_UUID_VX_UDF)
1820
message(STATUS "Building UUID_VX UDF component")
1921
else()
@@ -29,6 +31,8 @@ MYSQL_ADD_COMPONENT(uuid_vx_udf
2931
MODULE_ONLY
3032
)
3133

32-
target_link_libraries(component_uuid_vx_udf PRIVATE "atomic")
33-
3434
target_include_directories(component_uuid_vx_udf SYSTEM PRIVATE ${BOOST_PATCHES_DIR} ${BOOST_INCLUDE_DIR})
35+
36+
if(NOT APPLE)
37+
target_link_libraries(component_uuid_vx_udf PRIVATE atomic)
38+
endif()

0 commit comments

Comments
 (0)