mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-18 18:37:07 +00:00
frontend/CMake: fix HAVE_GETOPT -> HAVE_GETOPT_LONG_ONLY
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
# Copyright (C) 2008 by BogDan Vatra < bogdan@licentia.eu >
|
# Copyright (C) 2008 by BogDan Vatra < bogdan@licentia.eu >
|
||||||
# Copyright (C) 2009-2021 Robin Stuart <rstuart114@gmail.com>
|
# Copyright (C) 2009-2024 Robin Stuart <rstuart114@gmail.com>
|
||||||
# vim: set ts=4 sw=4 et :
|
# vim: set ts=4 sw=4 et :
|
||||||
|
|
||||||
project(zint_frontend)
|
project(zint_frontend)
|
||||||
@@ -21,7 +21,7 @@ if(ZINT_SHARED)
|
|||||||
else()
|
else()
|
||||||
target_link_libraries(${PROJECT_NAME} zint-static)
|
target_link_libraries(${PROJECT_NAME} zint-static)
|
||||||
endif()
|
endif()
|
||||||
if(NOT HAVE_GETOPT)
|
if(NOT HAVE_GETOPT_LONG_ONLY)
|
||||||
target_link_libraries(${PROJECT_NAME} zint_bundled_getopt)
|
target_link_libraries(${PROJECT_NAME} zint_bundled_getopt)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user