mirror of
https://github.com/QuasarApp/zip.git
synced 2025-04-26 20:44:31 +00:00
add zip::zip alias target (#180)
it is consistent with zip::zip imported target in generated config file
This commit is contained in:
parent
bc03c01e57
commit
2f6857e267
@ -14,6 +14,7 @@ option(ZIP_BUILD_DOCS "Generate API documentation with Doxygen" OFF)
|
||||
set(SRC src/miniz.h src/zip.h src/zip.c)
|
||||
|
||||
add_library(${PROJECT_NAME} ${SRC})
|
||||
add_library(${PROJECT_NAME}::${PROJECT_NAME} ALIAS ${PROJECT_NAME})
|
||||
|
||||
if(ZIP_STATIC_PIC)
|
||||
set_property(TARGET ${PROJECT_NAME} PROPERTY POSITION_INDEPENDENT_CODE 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user