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}")
|
IMPORTED_IMPLIB "${MARIADB_IMPLIB_LOCATION}")
|
||||||
elseif(APPLE)
|
elseif(APPLE)
|
||||||
set_target_properties(MariaDB::ConnCpp PROPERTIES
|
set_target_properties(MariaDB::ConnCpp PROPERTIES
|
||||||
MACOSX_RPATH TRUE
|
IMPORTED_SONAME "libmariadbcpp")
|
||||||
INSTALL_NAME_DIR "@rpath")
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Add directories to include lists
|
# Add directories to include lists
|
||||||
|
@ -29,6 +29,9 @@ add_custom_command(TARGET dCommonTests POST_BUILD
|
|||||||
add_custom_command(TARGET dCommonTests POST_BUILD
|
add_custom_command(TARGET dCommonTests POST_BUILD
|
||||||
COMMAND ls
|
COMMAND ls
|
||||||
WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
|
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()
|
endif()
|
||||||
|
|
||||||
# Link needed libraries
|
# Link needed libraries
|
||||||
|
Loading…
Reference in New Issue
Block a user