summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-05-05 12:36:55 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-05-06 03:42:22 +0200
commit05c811db673e25fbf38a352341517465c782785d (patch)
tree2dbffba47626458f24f7a6e0e056326e04b2076c /cmake
parent88db0523ec81a83147f484de895376ffe568858b (diff)
cmake: remove dead code
Diffstat (limited to 'cmake')
-rw-r--r--cmake/opentrack-boilerplate.cmake3
1 files changed, 0 insertions, 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()