mirror of
https://github.com/loot/loot-api-c.git
synced 2026-07-27 14:14:23 -07:00
Fix setting up test fixture files
This commit is contained in:
+2
-2
@@ -196,14 +196,14 @@ endif ()
|
||||
|
||||
# Copy testing metadata
|
||||
ExternalProject_Get_Property(testing-metadata SOURCE_DIR)
|
||||
add_custom_command(TARGET loot_c_api POST_BUILD
|
||||
add_custom_command(TARGET c_api_tests POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory
|
||||
${SOURCE_DIR}
|
||||
"$<TARGET_FILE_DIR:loot_c_api>/testing-metadata")
|
||||
|
||||
# Copy testing plugins
|
||||
ExternalProject_Get_Property(testing-plugins SOURCE_DIR)
|
||||
add_custom_command(TARGET loot_c_api POST_BUILD
|
||||
add_custom_command(TARGET c_api_tests POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory
|
||||
${SOURCE_DIR}
|
||||
$<TARGET_FILE_DIR:loot_c_api>)
|
||||
|
||||
Reference in New Issue
Block a user