mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +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)
|
||||
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
|
||||
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…
Reference in a new issue