From 10db4854b0f21ed48915ac55c78a0f9436a1cb9f Mon Sep 17 00:00:00 2001 From: Julien Lamy Date: Sun, 12 May 2024 10:47:32 +0200 Subject: [PATCH] Fix module type --- src/python/dicomifier/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/python/dicomifier/CMakeLists.txt b/src/python/dicomifier/CMakeLists.txt index b36bb35..d5984eb 100644 --- a/src/python/dicomifier/CMakeLists.txt +++ b/src/python/dicomifier/CMakeLists.txt @@ -1,3 +1,4 @@ +find_package(ZLIB REQUIRED) find_package(Odil) if(NOT "${Odil_FOUND}") find_file(Odil_INCLUDE odil/odil.h REQUIRED) @@ -22,7 +23,7 @@ list(SORT template_files) add_definitions(-DBOOST_ALL_DYN_LINK) pybind11_add_module( - pydicomifier_dicomifier SHARED + pydicomifier_dicomifier ${header_files} ${source_files} ${template_files}) set_target_properties(pydicomifier_dicomifier PROPERTIES OUTPUT_NAME _dicomifier)