summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-boilerplate.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/opentrack-boilerplate.cmake')
-rw-r--r--cmake/opentrack-boilerplate.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake
index 800e2480..f074c79b 100644
--- a/cmake/opentrack-boilerplate.cmake
+++ b/cmake/opentrack-boilerplate.cmake
@@ -84,7 +84,7 @@ function(otr_compat target)
endif()
get_property(type TARGET "${n}" PROPERTY TYPE)
- if (".${TYPE}" STREQUAL ".EXECUTABLE")
+ if (type STREQUAL "EXECUTABLE")
otr_fixup_subsystem(${target})
endif()
endfunction()