--- src/script/CMakeLists.txt.orig 2022-01-14 18:52:21 UTC +++ src/script/CMakeLists.txt @@ -569,7 +569,7 @@ target_sources(CsScript target_include_directories(CsScript PUBLIC - $ + ${CMAKE_INSTALL_INCLUDEDIR}/QtScript ) target_link_libraries(CsScript @@ -596,8 +596,8 @@ install( TARGETS CsScript EXPORT CopperSpiceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}${CS_NAMESPACE_DIRECTORY} + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}${CS_NAMESPACE_DIRECTORY} ) install(