mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
frontend/CMake: fix HAVE_GETOPT -> HAVE_GETOPT_LONG_ONLY
This commit is contained in:
parent
1449866d18
commit
57fac4048d
@ -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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user