We probably want this (have to guess as I cannot run the tests).
parent
b33de4fb08
commit
c47b2ae745
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue