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()