Skip to content

Commit 481cd8c

Browse files
committed
cmake: CMAKE_INSTALL_CMAKEDIR set by xpExternPackage()
1 parent 091d33e commit 481cd8c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ if(SPDLOG_INSTALL)
352352
LICENSE "[MIT](https://github.com/gabime/spdlog?tab=License-1-ov-file 'MIT License')"
353353
)
354354
set(config_targets_file "${targetsFile}.cmake")
355-
set(export_dest_dir "${XP_INSTALL_CMAKEDIR}")
355+
set(export_dest_dir "${CMAKE_INSTALL_CMAKEDIR}")
356356
set(CMAKE_NAMESPACE ${XP_NAMESPACE})
357357
else()
358358
set(CMAKE_NAMESPACE spdlog)

0 commit comments

Comments
 (0)