Skip to content

Commit

Permalink
refactor: Move BuildZstd.cmake into CMake/
Browse files Browse the repository at this point in the history
  • Loading branch information
thewtex committed Jan 18, 2023
1 parent 56f90a9 commit 615b5cc
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ if(EMSCRIPTEN)
set(esm_link_flags " -s EXPORT_ES6=1 -s USE_ES6_IMPORT_META=1")
endif()

include(${CMAKE_CURRENT_SOURCE_DIR}/io/internal/pipelines/common/compress-stringify/BuildZstd.cmake)
include(${CMAKE_CURRENT_SOURCE_DIR}/../CMake/BuildZstd.cmake)
add_subdirectory(io/internal/pipelines/common/compress-stringify)
add_subdirectory(io/internal/pipelines/image/convert-image)
add_subdirectory(io/internal/pipelines/image/read-dicom)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ project(convert-image)
set(CMAKE_CXX_STANDARD 17)

if (NOT TARGET libzstd_static)
include(${CMAKE_CURRENT_SOURCE_DIR}/../../common/compress-stringify/BuildZstd.cmake)
include(${CMAKE_CURRENT_SOURCE_DIR}/../../../../../../CMake/BuildZstd.cmake)
endif()

if(WASI)
Expand Down
2 changes: 1 addition & 1 deletion src/io/internal/pipelines/mesh/convert-mesh/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ project(ConvertMesh)
set(CMAKE_CXX_STANDARD 17)

if (NOT TARGET libzstd_static)
include(${CMAKE_CURRENT_SOURCE_DIR}/../../common/compress-stringify/BuildZstd.cmake)
include(${CMAKE_CURRENT_SOURCE_DIR}/../../../../../../CMake/BuildZstd.cmake)
endif()

# This list should be ordered from approximately most commonly to least
Expand Down

0 comments on commit 615b5cc

Please sign in to comment.