Skip to content
Snippets Groups Projects
Commit 9480011f authored by Joaquim Casals Buñuel's avatar Joaquim Casals Buñuel
Browse files

WIP: Additions to transform into plugin

parent 0167b88e
No related branches found
No related tags found
No related merge requests found
...@@ -780,6 +780,10 @@ INSTALL(FILES ${HDRS_YAML} ...@@ -780,6 +780,10 @@ INSTALL(FILES ${HDRS_YAML}
INSTALL(FILES "${CMAKE_SOURCE_DIR}/cmake_modules/Findwolf.cmake" INSTALL(FILES "${CMAKE_SOURCE_DIR}/cmake_modules/Findwolf.cmake"
DESTINATION "lib/cmake/${PROJECT_NAME}") DESTINATION "lib/cmake/${PROJECT_NAME}")
FILE(WRITE wolf.found "")
INSTALL(FILES wolf.found
DESTINATION include/iri-algorithms/wolf/base)
#install Find*.cmake #install Find*.cmake
configure_file("${CMAKE_SOURCE_DIR}/cmake_modules/wolfConfig.cmake" configure_file("${CMAKE_SOURCE_DIR}/cmake_modules/wolfConfig.cmake"
"${CMAKE_BINARY_DIR}/wolfConfig.cmake" @ONLY) "${CMAKE_BINARY_DIR}/wolfConfig.cmake" @ONLY)
......
#edit the following line to add the librarie's header files #edit the following line to add the librarie's header files
FIND_PATH( FIND_PATH(
wolf_INCLUDE_DIRS wolf_INCLUDE_DIRS
# NAMES wolf.h NAMES wolf.found
PATHS /usr/local/include/iri-algorithms/wolf) PATHS /usr/local/include/iri-algorithms/wolf/base)
#change INCLUDE_DIRS to its parent directory #change INCLUDE_DIRS to its parent directory
# get_filename_component(wolf_INCLUDE_DIRS ${wolf_INCLUDE_DIRS} DIRECTORY) get_filename_component(wolf_INCLUDE_DIRS ${wolf_INCLUDE_DIRS} DIRECTORY)
MESSAGE("Found wolf include dirs: ${wolf_INCLUDE_DIRS}") IF(wolf_INCLUDE_DIRS)
MESSAGE("Found wolf (base) include dirs: ${wolf_INCLUDE_DIRS}")
ELSE
MESSAGE("Couldn't find wolf (base) include dirs")
ENDIF
FIND_LIBRARY( FIND_LIBRARY(
wolf_LIBRARY wolf_LIBRARY
......
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