--- src/gui/CMakeLists.txt.orig 2022-01-14 18:52:21 UTC +++ src/gui/CMakeLists.txt @@ -179,7 +179,7 @@ target_sources(CsGui target_include_directories(CsGui PUBLIC - $ + ${CMAKE_INSTALL_INCLUDEDIR}/QtGui ${OPENGL_INCLUDE_DIR} ) @@ -215,8 +215,8 @@ install( TARGETS CsGui 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(