xo-cmake: bugfix: cmake_module_path must-> CMAKE_INSTALL_DATADIR !
This commit is contained in:
parent
294f1ebb81
commit
d3b12a97e2
2 changed files with 2 additions and 2 deletions
|
|
@ -29,7 +29,7 @@ install(
|
|||
"cmake/xo_macros/xo_cxx.cmake"
|
||||
"cmake/xo_macros/code-coverage.cmake"
|
||||
PERMISSIONS OWNER_READ GROUP_READ WORLD_READ
|
||||
DESTINATION share/cmake/xo_macros
|
||||
DESTINATION ${CMAKE_INSTALL_DATADIR}/xo_macros
|
||||
)
|
||||
|
||||
install(
|
||||
|
|
|
|||
|
|
@ -70,5 +70,5 @@ elif [[ $cmd == 'lcov_harness_exe' ]]; then
|
|||
elif [[ $cmd == 'gen_ccov_template' ]]; then
|
||||
echo -n @CMAKE_INSTALL_FULL_DATADIR@/xo-macros/gen-ccov.in
|
||||
elif [[ $cmd == 'cmake_module_path' ]]; then
|
||||
echo -n @CMAKE_MODULE_PATH@
|
||||
echo -n @CMAKE_INSTALL_DATADIR@
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue