mirror of
https://github.com/JDAI-CV/fast-reid.git
synced 2025-06-03 14:50:47 +08:00
fix: cmake bug
This commit is contained in:
parent
1666c82db4
commit
ebc375e51e
@ -4,7 +4,7 @@ set(LIBARARY_NAME "FastRT" CACHE STRING "The Fastreid-tensorrt library name")
|
||||
|
||||
set(LIBARARY_VERSION_MAJOR "0")
|
||||
set(LIBARARY_VERSION_MINOR "0")
|
||||
set(LIBARARY_VERSION_SINOR "1")
|
||||
set(LIBARARY_VERSION_SINOR "2")
|
||||
set(LIBARARY_SOVERSION "0")
|
||||
set(LIBARARY_VERSION "${LIBARARY_VERSION_MAJOR}.${LIBARARY_VERSION_MINOR}.${LIBARARY_VERSION_SINOR}")
|
||||
project(${LIBARARY_NAME}${LIBARARY_VERSION})
|
||||
@ -54,4 +54,4 @@ if(BUILD_DEMO)
|
||||
message(STATUS "BUILD_DEMO: ON")
|
||||
else()
|
||||
message(STATUS "BUILD_DEMO: OFF")
|
||||
endif()
|
||||
endif()
|
||||
|
@ -16,7 +16,7 @@ add_executable(${APP_PROJECT_NAME} inference.cpp)
|
||||
find_package(OpenCV)
|
||||
target_include_directories(${APP_PROJECT_NAME}
|
||||
PUBLIC
|
||||
OpenCV_INCLUDE_DIRS
|
||||
${OpenCV_INCLUDE_DIRS}
|
||||
)
|
||||
target_link_libraries(${APP_PROJECT_NAME}
|
||||
PUBLIC
|
||||
|
@ -24,7 +24,7 @@ PUBLIC
|
||||
find_package(OpenCV)
|
||||
target_include_directories(${PROJECT_NAME}
|
||||
PUBLIC
|
||||
OpenCV_INCLUDE_DIRS
|
||||
${OpenCV_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
target_link_libraries(${PROJECT_NAME}
|
||||
|
Loading…
x
Reference in New Issue
Block a user