mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
Avoid TARGET_LINK_LIBRARIES() for plugins
as a plugin can be disabled, so the target doesn't necessarily exist
This commit is contained in:
parent
22d8bb2706
commit
e68f7402c5
1 changed files with 3 additions and 3 deletions
|
@ -137,8 +137,8 @@ ELSE()
|
||||||
INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR}/aws_sdk_cpp/include)
|
INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR}/aws_sdk_cpp/include)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
MYSQL_ADD_PLUGIN(aws_key_management aws_key_management_plugin.cc
|
|
||||||
COMPONENT aws-key-management)
|
|
||||||
ADD_DEFINITIONS(${SSL_DEFINES}) # Need to know whether openssl should be initialized
|
ADD_DEFINITIONS(${SSL_DEFINES}) # Need to know whether openssl should be initialized
|
||||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CXX11_FLAGS}")
|
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CXX11_FLAGS}")
|
||||||
TARGET_LINK_LIBRARIES(aws_key_management ${AWS_SDK_LIBS})
|
MYSQL_ADD_PLUGIN(aws_key_management aws_key_management_plugin.cc
|
||||||
|
LINK_LIBRARIES ${AWS_SDK_LIBS}
|
||||||
|
COMPONENT aws-key-management)
|
||||||
|
|
Loading…
Add table
Reference in a new issue