Skip to content

Commit

Permalink
[cmake] Use CPP2PY_PYTHON_xxx variables instead of PYTHON_xxx
Browse files Browse the repository at this point in the history
  • Loading branch information
Thoemi09 committed Feb 27, 2024
1 parent 9e86f31 commit b394a97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/nda_py/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ target_compile_definitions(nda_py INTERFACE
# Install library and headers
install(TARGETS nda_py EXPORT ${PROJECT_NAME}-targets DESTINATION ${CMAKE_INSTALL_LIBDIR})
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} FILES_MATCHING PATTERN "*.hpp" PATTERN "*.h")
set(PYTHON_LIB_DEST ${PYTHON_LIB_DEST_ROOT}/nda_py)
set(PYTHON_LIB_DEST ${CPP2PY_PYTHON_LIB_DEST_ROOT}/nda_py)
install(FILES __init__.py DESTINATION ${PYTHON_LIB_DEST})

# ========= Additional Depdencies ==========
Expand Down

0 comments on commit b394a97

Please sign in to comment.