Skip to content

Commit

Permalink
Fix cmake config install path
Browse files Browse the repository at this point in the history
  • Loading branch information
bartoszek authored Aug 11, 2018
1 parent 0b2017d commit 20355aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ install(
)
target_include_directories(opengv PUBLIC "${CMAKE_INSTALL_PREFIX}/include")
install(DIRECTORY include/ DESTINATION include/ FILES_MATCHING PATTERN "*.h" PATTERN "*.hpp")
install(EXPORT opengv-export DESTINATION CMake FILE opengv-config.cmake)
install(EXPORT opengv-export DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/cmake/opengv-${OPENGV_VERSION_MAJOR}.${OPENGV_VERSION_MINOR}" FILE opengv-config.cmake)


if (BUILD_PYTHON)
Expand Down

0 comments on commit 20355aa

Please sign in to comment.