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

Adapt to rename wolf -> wolfcore

parent 29ef3ecf
No related branches found
No related tags found
2 merge requests!28release after RAL,!27After 2nd RAL submission
......@@ -97,7 +97,7 @@ ENDIF(BUILD_EXAMPLES OR BUILD_TESTS)
#find dependencies.
# ============EXAMPLE==================
FIND_PACKAGE(wolf REQUIRED)
FIND_PACKAGE(wolfcore REQUIRED)
FIND_PACKAGE(gnss_utils REQUIRED)
#FIND_PATH(
......@@ -133,7 +133,7 @@ include_directories("${PROJECT_BINARY_DIR}/conf")
#INCLUDES SECTION
# ==============================
INCLUDE_DIRECTORIES(${wolf_INCLUDE_DIRS})
INCLUDE_DIRECTORIES(${wolfcore_INCLUDE_DIRS})
INCLUDE_DIRECTORIES(${gnss_utils_INCLUDE_DIRS})
INCLUDE_DIRECTORIES(BEFORE "include")
......@@ -270,7 +270,7 @@ endif()
#Link the created libraries
#===============EXAMPLE=========================
TARGET_LINK_LIBRARIES(${PLUGIN_NAME} ${wolf_LIBRARIES})
TARGET_LINK_LIBRARIES(${PLUGIN_NAME} ${wolfcore_LIBRARIES})
TARGET_LINK_LIBRARIES(${PLUGIN_NAME} ${gnss_utils_LIBRARIES})
......
......@@ -70,14 +70,14 @@ FIND_PACKAGE(gnss_utils REQUIRED)
list(APPEND wolfgnss_INCLUDE_DIRS ${gnss_utils_INCLUDE_DIRS})
list(APPEND wolfgnss_LIBRARIES ${gnss_utils_LIBRARY})
if(NOT wolf_FOUND)
FIND_PACKAGE(wolf REQUIRED)
FIND_PACKAGE(wolfcore REQUIRED)
#We reverse in order to insert at the start
list(REVERSE wolfgnss_INCLUDE_DIRS)
list(APPEND wolfgnss_INCLUDE_DIRS ${wolf_INCLUDE_DIRS})
list(APPEND wolfgnss_INCLUDE_DIRS ${wolfcore_INCLUDE_DIRS})
list(REVERSE wolfgnss_INCLUDE_DIRS)
list(REVERSE wolfgnss_LIBRARIES)
list(APPEND wolfgnss_LIBRARIES ${wolf_LIBRARIES})
list(APPEND wolfgnss_LIBRARIES ${wolfcore_LIBRARIES})
list(REVERSE wolfgnss_LIBRARIES)
endif()
\ No newline at end of file
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