We probably want this (have to guess as I cannot run the tests).

master
Nicky Dasmijn 2022-09-17 17:58:08 +02:00
parent b33de4fb08
commit c47b2ae745
1 changed files with 2 additions and 2 deletions

View File

@ -107,8 +107,8 @@ if (LL_TESTS)
# executable. This SHOULD properly be "$<TARGET_FILE_DIR:lltest>/Resources",
# but the CMake $<TARGET_FILE_DIR> generator expression isn't evaluated by
# CREATE_LINK, so fudge it.
add_custom_command( TARGET tests_ok PRE_BUILD
COMMAND cmake -E create_symlink ${SHARED_LIB_STAGING_DIR} ${CMAKE_BINARY_DIR}/test/Resource
add_custom_command( TARGET lltest POST_BUILD
COMMAND cmake -E create_symlink ${SHARED_LIB_STAGING_DIR} ${CMAKE_BINARY_DIR}/test/Resources
)
endif()
endif (LL_TESTS)