mirror of
https://github.com/zlib-ng/minizip-ng
synced 2025-03-28 21:13:18 +00:00
added alias target for consistence btw find_packaage and fetchconten/Externalproject
This commit is contained in:
parent
bd787ca6d2
commit
420d9c365c
@ -716,6 +716,9 @@ target_include_directories(${PROJECT_NAME} PUBLIC
|
||||
$<INSTALL_INTERFACE:${INSTALL_INC_DIR}>
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)
|
||||
|
||||
#create minizip alias
|
||||
add_library(MINIZIP::${PROJECT_NAME} ALIAS ${PROJECT_NAME})
|
||||
|
||||
# Install files
|
||||
if(NOT SKIP_INSTALL_LIBRARIES AND NOT SKIP_INSTALL_ALL)
|
||||
install(TARGETS ${PROJECT_NAME} ${MINIZIP_DEP}
|
||||
|
Loading…
x
Reference in New Issue
Block a user