Skip to content

Commit

Permalink
Update install script
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdawkins committed Aug 3, 2023
1 parent 141d98b commit a66a079
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmake/custom_install_viame.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ if( EXISTS "${VIAME_INSTALL_PREFIX}/LICENSE" )
endif()

if( EXISTS "${VIAME_INSTALL_PREFIX}/OpenCVConfig.cmake" )
file( RENAME "${VIAME_INSTALL_PREFIX}/OpenCVConfig.cmake"
"${VIAME_INSTALL_PREFIX}/cmake/OpenCVConfig.cmake" )
file( COPY "${VIAME_INSTALL_PREFIX}/OpenCVConfig.cmake"
DESTINATION "${VIAME_INSTALL_PREFIX}/cmake/OpenCVConfig.cmake" )
endif()

if( EXISTS "${VIAME_INSTALL_PREFIX}/OpenCVConfig-version.cmake" )
file( RENAME "${VIAME_INSTALL_PREFIX}/OpenCVConfig-version.cmake"
"${VIAME_INSTALL_PREFIX}/cmake/OpenCVConfig-version.cmake" )
file( COPY "${VIAME_INSTALL_PREFIX}/OpenCVConfig-version.cmake"
DESTINATION "${VIAME_INSTALL_PREFIX}/cmake/OpenCVConfig-version.cmake" )
endif()

0 comments on commit a66a079

Please sign in to comment.