CMAKE_INSTALL_PREFIX not needed to specify destination folder and removed

This commit is contained in:
maliakal_d 2024-11-29 14:38:32 +01:00
parent fdce2f69b9
commit 2e4a491d7a

View File

@ -52,8 +52,8 @@ configure_file(examples/play.py ${CMAKE_BINARY_DIR}/play.py)
if(AARE_INSTALL_PYTHONEXT)
install(TARGETS _aare
EXPORT "${TARGETS_EXPORT_NAME}"
LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/aare
LIBRARY DESTINATION aare
)
install(FILES ${PYTHON_FILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/aare)
install(FILES ${PYTHON_FILES} DESTINATION aare)
endif()