Skip to content

Commit

Permalink
Merge pull request #142 from dg0yt/cmake-config
Browse files Browse the repository at this point in the history
Fix exported interface include dir
  • Loading branch information
gdraheim authored Feb 29, 2024
2 parents bc2ed7c + 11a7b1f commit 7ac88ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zzip/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ set(libzzipmmapped_HDRS mmapped.h memdisk.h)

add_library(libzzip ${libzzip_SRCS} )
target_link_libraries(libzzip ZLIB::ZLIB )
target_include_directories (libzzip PRIVATE ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} PUBLIC $<INSTALL_INTERFACE:include/zzip>)
target_include_directories (libzzip PRIVATE ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} PUBLIC $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)

if(ZZIPFSEEKO)
add_library(libzzipfseeko ${libzzipfseeko_SRCS} )
Expand Down

0 comments on commit 7ac88ac

Please sign in to comment.