Skip to content

Commit

Permalink
fixed #13083 - correct addons and cfgs install locations (#6764)
Browse files Browse the repository at this point in the history
`FILESDIR_DEF` is an actual path which should be used for installation,
while `FILESDIR` is an option with default value of `OFF` which leads to
files installed to `${CMAKE_INSTALL_PREFIX}/OFF/{addons,cfgs,platforms}`
  • Loading branch information
AMDmi3 committed Sep 7, 2024
1 parent fc2f551 commit 5ad1d39
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cli/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,15 @@ if (BUILD_CLI)
COMPONENT applications)

install(FILES ${addons}
DESTINATION ${FILESDIR}/addons
DESTINATION ${FILESDIR_DEF}/addons
COMPONENT headers)

install(FILES ${cfgs}
DESTINATION ${FILESDIR}/cfg
DESTINATION ${FILESDIR_DEF}/cfg
COMPONENT headers)

install(FILES ${platforms}
DESTINATION ${FILESDIR}/platforms
DESTINATION ${FILESDIR_DEF}/platforms
COMPONENT headers)

endif()
endif()

0 comments on commit 5ad1d39

Please sign in to comment.