mirror of
https://github.com/MariaDB/server.git
synced 2026-04-22 08:15:31 +02:00
fix build errors
This commit is contained in:
parent
8b90176a47
commit
1407b6f1ec
4 changed files with 21 additions and 11 deletions
|
|
@ -86,7 +86,13 @@ MACRO (DTRACE_INSTRUMENT target)
|
|||
-P ${CMAKE_SOURCE_DIR}/cmake/dtrace_prelink.cmake
|
||||
WORKING_DIRECTORY ${objdir}
|
||||
)
|
||||
SET_TARGET_PROPERTIES(${target} PROPERTIES LINK_FLAGS "${outfile}")
|
||||
GET_TARGET_PROPERTY(target_link_flags ${target} LINK_FLAGS)
|
||||
IF(NOT target_link_flags)
|
||||
SET(target_link_flags)
|
||||
ENDIF()
|
||||
|
||||
SET_TARGET_PROPERTIES(${target} PROPERTIES LINK_FLAGS
|
||||
"${target_link_flags} ${outfile}")
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
ENDMACRO()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue