mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-28 14:04:19 -04:00
Make zint-static build optional
This commit is contained in:
parent
e2cd96924d
commit
9b771dba3a
2 changed files with 4 additions and 1 deletions
|
@ -18,7 +18,9 @@ else(PNG_FOUND)
|
|||
endif(PNG_FOUND)
|
||||
|
||||
add_library(zint SHARED ${zint_SRCS})
|
||||
add_library(zint-static STATIC ${zint_SRCS})
|
||||
if(ZINT_STATIC)
|
||||
add_library(zint-static STATIC ${zint_SRCS})
|
||||
endif(ZINT_STATIC)
|
||||
|
||||
set_target_properties(zint PROPERTIES SOVERSION "${ZINT_VERSION_MAJOR}.${ZINT_VERSION_MINOR}"
|
||||
VERSION ${ZINT_VERSION})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue