From 73de9257a152e7590b7a10559bc604e137816006 Mon Sep 17 00:00:00 2001
From: patrick96
Date: Fri, 14 Dec 2018 16:15:48 +0100
Subject: [PATCH] refactor(cmake): Remove unused querybin
---
cmake/common/utils.cmake | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/cmake/common/utils.cmake b/cmake/common/utils.cmake
index de1a2fe2..bc3cb7a8 100644
--- a/cmake/common/utils.cmake
+++ b/cmake/common/utils.cmake
@@ -70,16 +70,6 @@ function(queryfont output_variable fontname)
endif()
endfunction()
-# }}}
-# querybin {{{
-
-function(querybin binary_name)
- find_program(BIN_${binary_name} ${binary_name})
- if(NOT BIN_${binary_name})
- message_colored(FATAL_ERROR "Failed to locate ${binary_name} binary" 31)
- endif()
-endfunction()
-
# }}}
# querylib {{{