]> granicus.if.org Git - graphviz/commitdiff
CMake: remove required Awk detection
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 11 Apr 2022 02:47:06 +0000 (19:47 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 2 May 2022 14:34:28 +0000 (07:34 -0700)
Awk is no longer used in the CMake build system.

Gitab: #2118

CMakeLists.txt
cmake/FindAWK.cmake [deleted file]

index 3d754437e58feccfa128a05e622fb2adfeec1aa3..0ee5f970d202311c5d1488fb9d2a20e839b3747d 100644 (file)
@@ -48,7 +48,6 @@ endif()
 list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
 
 # ============================= Build dependencies =============================
-find_package(AWK REQUIRED)
 find_package(BISON 3.0 REQUIRED)
 find_package(FLEX REQUIRED)
 find_program(GIT git)
diff --git a/cmake/FindAWK.cmake b/cmake/FindAWK.cmake
deleted file mode 100644 (file)
index f5e599e..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-find_program(AWK_EXECUTABLE NAMES gawk awk)
-
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(AWK DEFAULT_MSG
-                                  AWK_EXECUTABLE)