From 57fac4048d629c9de7cbdb422fc2f3f10f651b98 Mon Sep 17 00:00:00 2001 From: gitlost Date: Wed, 17 Jan 2024 22:04:18 +0000 Subject: [PATCH] frontend/CMake: fix HAVE_GETOPT -> HAVE_GETOPT_LONG_ONLY --- frontend/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/CMakeLists.txt b/frontend/CMakeLists.txt index 07d176eb..143e2d95 100644 --- a/frontend/CMakeLists.txt +++ b/frontend/CMakeLists.txt @@ -1,5 +1,5 @@ # Copyright (C) 2008 by BogDan Vatra < bogdan@licentia.eu > -# Copyright (C) 2009-2021 Robin Stuart +# Copyright (C) 2009-2024 Robin Stuart # vim: set ts=4 sw=4 et : project(zint_frontend) @@ -21,7 +21,7 @@ if(ZINT_SHARED) else() target_link_libraries(${PROJECT_NAME} zint-static) endif() -if(NOT HAVE_GETOPT) +if(NOT HAVE_GETOPT_LONG_ONLY) target_link_libraries(${PROJECT_NAME} zint_bundled_getopt) endif()