Skip to content

Commit

Permalink
Fix windows builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
joaander committed Jun 27, 2024
1 parent 4c5f9fc commit 9691e76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cpp/locality/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set(locality_extension_sources
export_PeriodicBuffer.cc export_Voronoi.cc)

# create the target and add the needed properties
nanobind_add_module(_locality SHARED module-locality.cc
nanobind_add_module(_locality ${freud_nanobind_linking} module-locality.cc
${locality_extension_sources})
target_link_libraries(_locality PUBLIC libfreud)

Expand Down
2 changes: 1 addition & 1 deletion cpp/util/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
set(util_extension_headers export_ManagedArray.h export_Vector.h)

nanobind_add_module(_util NB_SHARED module-util.cc ${util_extension_headers})
nanobind_add_module(_util ${freud_nanobind_linking} module-util.cc ${util_extension_headers})
target_link_libraries(_util PUBLIC libfreud)

target_set_install_rpath(_util)
Expand Down

0 comments on commit 9691e76

Please sign in to comment.