From 8a78dca26fbd6dd17d857f2e21a0ba2c475fadb2 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Wed, 10 Jan 2018 19:38:21 -0800 Subject: [PATCH] Remove PRE_BUILD from tests_dir target It doesn't seem necessary and I can't justify what it's there for. --- cmake/Tests.cmake | 1 - 1 file changed, 1 deletion(-) diff --git a/cmake/Tests.cmake b/cmake/Tests.cmake index f19e78118..f14a0f56d 100644 --- a/cmake/Tests.cmake +++ b/cmake/Tests.cmake @@ -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"