mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-22 05:27:19 +00:00
Revert "try disabling an apple-specific build rule"
This reverts commit 45ec66e976
.
This commit is contained in:
parent
8154207848
commit
bdf9adc0e8
@ -134,8 +134,7 @@
|
|||||||
{
|
{
|
||||||
"name": "macos-debug",
|
"name": "macos-debug",
|
||||||
"inherits": [
|
"inherits": [
|
||||||
"macos-config",
|
"macos-config"
|
||||||
"debug-config"
|
|
||||||
],
|
],
|
||||||
"displayName": "[Debug] MacOS",
|
"displayName": "[Debug] MacOS",
|
||||||
"description": "Create a debug build using MacOS"
|
"description": "Create a debug build using MacOS"
|
||||||
@ -143,8 +142,7 @@
|
|||||||
{
|
{
|
||||||
"name": "macos-release",
|
"name": "macos-release",
|
||||||
"inherits": [
|
"inherits": [
|
||||||
"macos-config",
|
"macos-config"
|
||||||
"release-config"
|
|
||||||
],
|
],
|
||||||
"displayName": "[Release] MacOS",
|
"displayName": "[Release] MacOS",
|
||||||
"description": "Create a release build using MacOS"
|
"description": "Create a release build using MacOS"
|
||||||
@ -211,7 +209,6 @@
|
|||||||
"configurePreset": "macos-debug",
|
"configurePreset": "macos-debug",
|
||||||
"displayName": "[Debug] MacOS",
|
"displayName": "[Debug] MacOS",
|
||||||
"description": "This preset is used to build in debug mode on MacOS",
|
"description": "This preset is used to build in debug mode on MacOS",
|
||||||
"configuration": "Debug",
|
|
||||||
"jobs": 2
|
"jobs": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -219,7 +216,6 @@
|
|||||||
"configurePreset": "macos-release",
|
"configurePreset": "macos-release",
|
||||||
"displayName": "[Release] MacOS",
|
"displayName": "[Release] MacOS",
|
||||||
"description": "This preset is used to build in release mode on MacOS",
|
"description": "This preset is used to build in release mode on MacOS",
|
||||||
"configuration": "Release",
|
|
||||||
"jobs": 2
|
"jobs": 2
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
@ -6,11 +6,11 @@ include(GoogleTest)
|
|||||||
|
|
||||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/bin)
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/bin)
|
||||||
|
|
||||||
#if(APPLE)
|
if(APPLE)
|
||||||
# set(CMAKE_INSTALL_RPATH_USE_LINK_PATH True)
|
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH True)
|
||||||
# set(CMAKE_BUILD_WITH_INSTALL_RPATH True)
|
set(CMAKE_BUILD_WITH_INSTALL_RPATH True)
|
||||||
# set(CMAKE_INSTALL_RPATH "@executable_path")
|
set(CMAKE_INSTALL_RPATH "@executable_path")
|
||||||
#endif()
|
endif()
|
||||||
|
|
||||||
add_custom_target(conncpp_tests
|
add_custom_target(conncpp_tests
|
||||||
${CMAKE_COMMAND} -E copy $<TARGET_FILE:MariaDB::ConnCpp> ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
|
${CMAKE_COMMAND} -E copy $<TARGET_FILE:MariaDB::ConnCpp> ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
|
||||||
|
Loading…
Reference in New Issue
Block a user