Skip to content

Commit

Permalink
Add linking to numpy
Browse files Browse the repository at this point in the history
  • Loading branch information
lamyj committed Mar 9, 2024
1 parent c6ebd29 commit 45c8709
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Build
on: push

defaults:
run:
shell: bash -i -l -e -o pipefail {0}

jobs:
build:
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -40,7 +36,7 @@ jobs:
uses: mamba-org/setup-micromamba@v1
with:
init-shell: bash powershell
environment-name: sycomore
environment-name: dicomifier
create-args: python=3.11
if: ${{ contains(matrix.packaging, 'conda') }}

Expand Down
1 change: 1 addition & 0 deletions src/python/dicomifier/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ if(APPLE)
set_target_properties(pydicomifier_dicomifier PROPERTIES SUFFIX ".so")
endif()

target_link_libraries(pydicomifier_dicomifier PUBLIC Python::NumPy)
if("${Odil_FOUND}")
target_link_libraries(
pydicomifier_dicomifier PUBLIC libdicomifier Odil::libodil)
Expand Down

0 comments on commit 45c8709

Please sign in to comment.