Skip to content

Commit

Permalink
fixed #13083 - correct addons and cfgs install locations (#6764) (#6780)
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}`

(cherry picked from commit 5ad1d39)

Co-authored-by: Dmitry Marakasov <[email protected]>
  • Loading branch information
firewave and AMDmi3 committed Sep 7, 2024
1 parent 8887499 commit 844c3ec
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 844c3ec

Please sign in to comment.