mirror of
https://github.com/DarkflameUniverse/DarkflameServer
synced 2024-08-30 18:43:58 +00:00
fix: macos?
This commit is contained in:
parent
a52cfb5b0b
commit
decce5b4c5
@ -142,8 +142,7 @@ if(WIN32)
|
||||
IMPORTED_IMPLIB "${MARIADB_IMPLIB_LOCATION}")
|
||||
elseif(APPLE)
|
||||
set_target_properties(MariaDB::ConnCpp PROPERTIES
|
||||
MACOSX_RPATH TRUE
|
||||
INSTALL_NAME_DIR "@rpath")
|
||||
IMPORTED_SONAME "libmariadbcpp")
|
||||
endif()
|
||||
|
||||
# Add directories to include lists
|
||||
|
@ -29,6 +29,9 @@ add_custom_command(TARGET dCommonTests POST_BUILD
|
||||
add_custom_command(TARGET dCommonTests POST_BUILD
|
||||
COMMAND ls
|
||||
WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
|
||||
add_custom_command(TARGET dCommonTests POST_BUILD
|
||||
COMMAND otool ARGS -D libmariadbcpp.dylib
|
||||
WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
|
||||
endif()
|
||||
|
||||
# Link needed libraries
|
||||
|
Loading…
Reference in New Issue
Block a user