From 891e8c6cbb6fcbfad9c65ff4d8c4017c05b0aa6d Mon Sep 17 00:00:00 2001 From: Marcel Loose <loose@astron.nl> Date: Fri, 29 Jun 2012 08:54:48 +0000 Subject: [PATCH] Task #1254: Fixed a bug in lofar_add_test(), which caused test scripts not to be built. This bug only surfaced when the test script has a dependency on a buildable target (specified with the DEPENDS option), like for example a Python module. --- CMake/LofarMacros.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMake/LofarMacros.cmake b/CMake/LofarMacros.cmake index 02d3761bf88..743c0afcb73 100644 --- a/CMake/LofarMacros.cmake +++ b/CMake/LofarMacros.cmake @@ -144,7 +144,7 @@ if(NOT DEFINED LOFAR_MACROS_INCLUDED) if(_srcs MATCHES ".+") lofar_add_executable(${_name} ${_srcs}) else() - add_custom_target(${_name}) + add_custom_target(${_name} ALL) endif(_srcs MATCHES ".+") if(_deps MATCHES ".+") add_dependencies(${_name} ${_deps}) -- GitLab