diff --git a/CMakeLists.txt b/CMakeLists.txt index d104c42a3..2e4f7ab1b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -600,8 +600,10 @@ endif() # Configure make install/uninstall and packages # --------------------------------------------------------------------------- # install(FILES ${CMAKE_SOURCE_DIR}/LICENSE.TXT - ${CMAKE_SOURCE_DIR}/third-party-programs.txt DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/doc/${PROJECT_NAME}/") +install( + FILES ${CMAKE_SOURCE_DIR}/licensing/third-party-programs.txt + DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/doc/${PROJECT_NAME}/licensing/") install(DIRECTORY examples DESTINATION "${CMAKE_INSTALL_DOCDIR}") diff --git a/third-party-programs.txt b/licensing/third-party-programs.txt similarity index 100% rename from third-party-programs.txt rename to licensing/third-party-programs.txt diff --git a/test/test_installation.py b/test/test_installation.py index 6acb4a0bc..49a382969 100644 --- a/test/test_installation.py +++ b/test/test_installation.py @@ -146,7 +146,8 @@ def _create_match_list(self) -> List[str]: examples.insert(0, "share/doc/umf/examples") share.extend(examples) share.append("share/doc/umf/LICENSE.TXT") - share.append("share/doc/umf/third-party-programs.txt") + share.append("share/doc/umf/licensing") + share.append("share/doc/umf/licensing/third-party-programs.txt") all_files = bin + include + lib + share if platform.system() == "Windows":