Skip to content

Commit 5ad1d39

Browse files
authored
fixed #13083 - correct addons and cfgs install locations (#6764)
`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}`
1 parent fc2f551 commit 5ad1d39

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

cli/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,15 @@ if (BUILD_CLI)
7575
COMPONENT applications)
7676

7777
install(FILES ${addons}
78-
DESTINATION ${FILESDIR}/addons
78+
DESTINATION ${FILESDIR_DEF}/addons
7979
COMPONENT headers)
8080

8181
install(FILES ${cfgs}
82-
DESTINATION ${FILESDIR}/cfg
82+
DESTINATION ${FILESDIR_DEF}/cfg
8383
COMPONENT headers)
8484

8585
install(FILES ${platforms}
86-
DESTINATION ${FILESDIR}/platforms
86+
DESTINATION ${FILESDIR_DEF}/platforms
8787
COMPONENT headers)
8888

89-
endif()
89+
endif()

0 commit comments

Comments
 (0)