Revision 8feeafb4a9c7b2ad065ff7cb00db52255e287025 authored by dpiparo on 28 November 2023, 00:27:58 UTC, committed by Danilo Piparo on 28 November 2023, 00:59:47 UTC
1 parent 92a35a8
CMakeLists.txt
############################################################################
# CMakeLists.txt file for building ROOT core/zstd package
############################################################################
find_package(ZSTD REQUIRED)
#---Declare ZipZSTD sources as part of libCore-------------------------------
set(headers ${CMAKE_CURRENT_SOURCE_DIR}/inc/ZipZSTD.hxx)
set(sources ${CMAKE_CURRENT_SOURCE_DIR}/src/ZipZSTD.cxx)
ROOT_OBJECT_LIBRARY(Zstd ${sources} BUILTINS ZSTD)
target_compile_definitions(Zstd PRIVATE ${ZSTD_DEFINITIONS})
target_include_directories(Zstd PRIVATE
${ZSTD_INCLUDE_DIR}
${CMAKE_SOURCE_DIR}/core/foundation/inc
${CMAKE_BINARY_DIR}/ginclude
)
ROOT_INSTALL_HEADERS()
install(FILES ${ZSTD_headers} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...