mirror of
https://git.code.sf.net/p/zint/code
synced 2025-06-04 08:49:45 -04:00
CMake: allow ctest to be run without having to install zint or
manually set LD_LIBRARY_PATH and PATH (ticket #279, props Alexey Dokuchaev)
This commit is contained in:
parent
be0d9bc663
commit
5669addf01
6 changed files with 45 additions and 11 deletions
|
@ -1,4 +1,4 @@
|
|||
# Copyright (C) 2020 Robin Stuart <rstuart114@gmail.com>
|
||||
# Copyright (C) 2020-23 Robin Stuart <rstuart114@gmail.com>
|
||||
# Adapted from qrencode/tests/CMakeLists.txt
|
||||
# Copyright (C) 2006-2017 Kentaro Fukuchi <kentaro@fukuchi.org>
|
||||
# vim: set ts=4 sw=4 et :
|
||||
|
@ -10,4 +10,7 @@ enable_testing()
|
|||
|
||||
include(${zint-package_SOURCE_DIR}/cmake/zint_add_test.cmake)
|
||||
|
||||
if(ZINT_SHARED)
|
||||
set(ZINT_STATIC "")
|
||||
endif()
|
||||
zint_add_test(args test_args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue