From 05c811db673e25fbf38a352341517465c782785d Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 5 May 2019 12:36:55 +0200 Subject: cmake: remove dead code --- cmake/opentrack-boilerplate.cmake | 3 --- 1 file changed, 3 deletions(-) diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake index 2b605f5f..c63aacdf 100644 --- a/cmake/opentrack-boilerplate.cmake +++ b/cmake/opentrack-boilerplate.cmake @@ -265,9 +265,6 @@ function(otr_install_lib target dest) string(FIND "${target}" "/" idx) if(idx EQUAL -1) get_property(path TARGET "${target}" PROPERTY "LOCATION_${CMAKE_BUILD_TYPE}") - if(path STREQUAL "") - get_property(path TARGET "${target}" PROPERTY "LOCATION") - endif() else() set(path "${target}") endif() -- cgit v1.2.3