Skip to content

Commit

Permalink
Create directory before touching
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carroll <[email protected]>
  • Loading branch information
mjcarroll committed Jul 17, 2023
1 parent 225e75d commit b158cce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/python_pybind11/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ function(configure_build_install_location _library_name)
RUNTIME_OUTPUT_DIRECTORY $<1:${CMAKE_CURRENT_BINARY_DIR}/test/gz>)

# Touch an init file to mark this directory as a usable python module
file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/test/gz/)
file(TOUCH ${CMAKE_CURRENT_BINARY_DIR}/test/gz/__init__.py)

# Install library for actual use
Expand Down

0 comments on commit b158cce

Please sign in to comment.