-
Notifications
You must be signed in to change notification settings - Fork 114
Description
Hello,
I am trying to add a new ultrasound probe device called Clarius to PlusDataCollection. I got the LINK error below but was not sure how to resolve it. I'm wondering if you could provide some guidance on this?
Here's the script I added in the PlusDataCollction/CMakeList.txt:
`IF(PLUS_USE_CLARIUS)
FIND_PACKAGE(Threads REQUIRED)
FIND_PACKAGE(CLARIUS REQUIRED)
SET(CLARIUS_SRCS
Clarius/vtkPlusClarius.cxx
)
IF(MSVC OR ${CMAKE_GENERATOR} MATCHES "Xcode")
SET(CLARIUS_HDRS
Clarius/vtkPlusClarius.h
)
ENDIF()
LIST(APPEND ${PROJECT_NAME}_HDRS
${CLARIUS_HDRS}
)
LIST(APPEND ${PROJECT_NAME}_SRCS
${CLARIUS_SRCS}
)
LIST(APPEND ${PROJECT_NAME}_INCLUDE_DIRS
${CMAKE_CURRENT_SOURCE_DIR}/Clarius
)
SET(External_Libraries_Install ${External_Libraries_Install} ${CLARIUS_LIB_DIR}/listen${CMAKE_STATIC_LIBRARY_SUFFIX})
LIST(APPEND ${PROJECT_NAME}_LIBS
Clarius
)
ENDIF()`