Descent3/unzip/CMakeLists.txt
Louis Gombert 60c5dbf1fe CMake: add all headers to target sources
This can help with CMake IDE integration and file indexing.
2024-08-09 17:09:14 +02:00

12 lines
235 B
CMake

set(HEADERS unzip.h)
set(CPPS unzip.cpp)
add_library(unzip STATIC ${HEADERS} ${CPPS})
target_link_libraries(unzip PRIVATE ZLIB::ZLIB)
target_include_directories(unzip PUBLIC
$<BUILD_INTERFACE:
${PROJECT_SOURCE_DIR}/unzip
>
)