Remove PRE_BUILD from tests_dir target

It doesn't seem necessary and I can't justify what it's there for.
This commit is contained in:
ridiculousfish 2018-01-10 19:38:21 -08:00
parent 843ac2554d
commit 8a78dca26f

View file

@ -17,7 +17,6 @@ FILE(GLOB TESTS_FILES tests/*)
ADD_CUSTOM_TARGET(tests_dir DEPENDS tests)
ADD_CUSTOM_COMMAND(TARGET tests_dir
PRE_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_directory
${CMAKE_SOURCE_DIR}/tests/ ${CMAKE_BINARY_DIR}/tests/
COMMENT "Copying test files to binary dir"