From 05247ea4be9c46abbedf49d1430b15630ac77de3 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Sat, 11 Nov 2017 10:27:02 +0100 Subject: [PATCH] Remove repeated line --- src/tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt index a7ce8ed34..2bafedc98 100644 --- a/src/tests/CMakeLists.txt +++ b/src/tests/CMakeLists.txt @@ -530,10 +530,10 @@ if(ENABLE_SYSTEM_TESTING) file(REMOVE ${CMAKE_SOURCE_DIR}/install/obs_gps_l1_system_test) endif(EXISTS ${CMAKE_SOURCE_DIR}/install/obs_gps_l1_system_test) install(TARGETS obs_gps_l1_system_test RUNTIME DESTINATION bin COMPONENT "obs_gps_l1_system_test") + if(EXISTS ${CMAKE_SOURCE_DIR}/install/obs_system_test) file(REMOVE ${CMAKE_SOURCE_DIR}/install/obs_system_test) endif(EXISTS ${CMAKE_SOURCE_DIR}/install/obs_system_test) - install(TARGETS obs_gps_l1_system_test RUNTIME DESTINATION bin COMPONENT "obs_gps_l1_system_test") install(TARGETS obs_system_test RUNTIME DESTINATION bin COMPONENT "obs_system_test") else(ENABLE_INSTALL_TESTS) add_custom_command(TARGET obs_gps_l1_system_test POST_BUILD