apple pls

This commit is contained in:
EmosewaMC
2024-10-28 00:16:39 -07:00
parent 0509aaf855
commit bb143ccf21
4 changed files with 12 additions and 16 deletions

View File

@@ -49,3 +49,12 @@ function(UpdateConfigOption file_name old_option_name new_option_name)
file(APPEND ${file_name} "\n" ${current_value})
endif()
endfunction()
function(DoAppleMariaDBCopy target location)
if(APPLE)
add_custom_command(TARGET ${target} POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_if_different
${MARIADBCPP_SHARED_LIBRARY_LOCATION}
${location})
endif()
endfunction()