Skip to content
Snippets Groups Projects
Commit 76afcafd authored by Jeremie Deray's avatar Jeremie Deray
Browse files

install wolfConfig.cmake & export project

parent c41c90cd
No related branches found
No related tags found
1 merge request!91catkin build
...@@ -397,6 +397,14 @@ INSTALL(FILES ${HDRS_SOLVER} ...@@ -397,6 +397,14 @@ INSTALL(FILES ${HDRS_SOLVER}
INSTALL(FILES ../cmake_modules/Findwolf.cmake DESTINATION "lib/cmake/${PROJECT_NAME}") INSTALL(FILES ../cmake_modules/Findwolf.cmake DESTINATION "lib/cmake/${PROJECT_NAME}")
#install Find*.cmake
configure_file("${CMAKE_SOURCE_DIR}/cmake_modules/wolfConfig.cmake"
"${CMAKE_BINARY_DIR}/wolfConfig.cmake" @ONLY)
INSTALL(FILES "${CMAKE_BINARY_DIR}/wolfConfig.cmake" DESTINATION "lib/cmake/${PROJECT_NAME}")
export(PACKAGE ${PROJECT_NAME})
#Build examples & tests #Build examples & tests
MESSAGE("Building examples and tests.") MESSAGE("Building examples and tests.")
ADD_SUBDIRECTORY(examples) ADD_SUBDIRECTORY(examples)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment