Skip to content

Commit

Permalink
Wrap in dir
Browse files Browse the repository at this point in the history
  • Loading branch information
aothms committed Dec 11, 2023
1 parent 3924cdb commit 8455b12
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -301,10 +301,10 @@ if (ENABLE_PYTHON_WRAPPER)
SWIG_LINK_LIBRARIES(voxec libvoxec ${Python_LIBRARIES})
endif()

INSTALL(FILES "${CMAKE_BINARY_DIR}/voxec.py"
DESTINATION "${Python_SITEARCH}/")
INSTALL(FILES "${CMAKE_BINARY_DIR}/voxec.py" "${CMAKE_CURRENT_SOURCE_DIR}/module/__init__.py"
DESTINATION "${Python_SITEARCH}/voxec/")
INSTALL(TARGETS _voxec
DESTINATION "${Python_SITEARCH}/")
DESTINATION "${Python_SITEARCH}/voxec/")
endif()

if (ENABLE_TESTS)
Expand Down
1 change: 1 addition & 0 deletions module/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from .voxec import *

0 comments on commit 8455b12

Please sign in to comment.