Commit 6b1eb063 authored by Guilhem Saurel's avatar Guilhem Saurel

[CMake] package extra macros: include plugin

parent 19991249
......@@ -187,6 +187,7 @@ ADD_SUBDIRECTORY(tests)
SET(GEPETTO_VIEWER_CMAKE_PLUGIN "${CMAKE_INSTALL_PREFIX}/lib/cmake/${PROJECT_NAME}/${PROJECT_NAME}-plugin.cmake")
SET(PKG_CONFIG_EXTRA "${PKG_CONFIG_EXTRA}\ncmake_plugin=${GEPETTO_VIEWER_CMAKE_PLUGIN}")
SET(PACKAGE_EXTRA_MACROS "${PACKAGE_EXTRA_MACROS}\nset(GEPETTO_VIEWER_CMAKE_PLUGIN ${GEPETTO_VIEWER_CMAKE_PLUGIN})")
SET(PACKAGE_EXTRA_MACROS "${PACKAGE_EXTRA_MACROS}\nINCLUDE(${GEPETTO_VIEWER_CMAKE_PLUGIN})")
SET(PACKAGE_EXTRA_MACROS "${PACKAGE_EXTRA_MACROS}\nset(GEPETTO_VIEWER_INCLUDEDIR ${CMAKE_INSTALL_PREFIX}/include)")
INSTALL(FILES cmake-module/${PROJECT_NAME}-plugin.cmake
DESTINATION lib/cmake/${PROJECT_NAME}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment