mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2024-11-24 07:55:42 +01:00
Add a working directory for PVR lib tests
Unfortunately, the WORKING_DIRECTORY directive for ADD_TEST seems to be broken as of CMake 2.8.10, fortunately there was a mail thread about this issue in 2.6 so I was able to implement the workaround.
This commit is contained in:
parent
6149c0af3a
commit
7b72a84d87
@ -97,5 +97,8 @@ IF(PVRTEXLIB_FOUND)
|
||||
TARGET_LINK_LIBRARIES(${TEST_NAME} gtest_main)
|
||||
TARGET_LINK_LIBRARIES(${TEST_NAME} ${PVRTEXLIB_LIBRARIES} )
|
||||
|
||||
ADD_TEST(${TEST_NAME} ${TEST_NAME})
|
||||
ADD_TEST(${TEST_NAME}
|
||||
${CMAKE_COMMAND} -E chdir ${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/${TEST_NAME}
|
||||
)
|
||||
ENDIF(PVRTEXLIB_FOUND)
|
||||
|
Loading…
Reference in New Issue
Block a user