From 7661f3ef9cabb010d8eb83c061fc7dc34b006a4c Mon Sep 17 00:00:00 2001 From: dinomking33 <38479763+TAHuntling@users.noreply.github.com> Date: Thu, 16 May 2024 00:45:01 -0500 Subject: [PATCH] finishing up --- CMakeLists.txt | 1 - tests/dGameTests/CMakeLists.txt | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0cca1fff..aa517182 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -229,7 +229,6 @@ include_directories( "tests/dCommonTests" "tests/dGameTests" "tests/dGameTests/dComponentsTests" - "tests/dGameTests/dScriptsTests" SYSTEM "thirdparty/magic_enum/include/magic_enum" SYSTEM "thirdparty/raknet/Source" diff --git a/tests/dGameTests/CMakeLists.txt b/tests/dGameTests/CMakeLists.txt index 924e730e..58f213e0 100644 --- a/tests/dGameTests/CMakeLists.txt +++ b/tests/dGameTests/CMakeLists.txt @@ -16,10 +16,10 @@ add_dependencies(dGameTests conncpp_tests) # Apple needs some special linkage for the mariadb connector for tests. if(APPLE) - add_custom_command(TARGET dGameTests POST_BUILD - COMMAND install_name_tool ARGS -change libmariadbcpp.dylib @rpath/libmariadbcpp.dylib dGameTests - COMMAND otool ARGS -L dGameTests - WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}) +add_custom_command(TARGET dGameTests POST_BUILD + COMMAND install_name_tool ARGS -change libmariadbcpp.dylib @rpath/libmariadbcpp.dylib dGameTests + COMMAND otool ARGS -L dGameTests + WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}) endif() target_link_libraries(dGameTests ${COMMON_LIBRARIES} GTest::gtest_main