Skip to content

Commit

Permalink
Fix a bug(wrong CMakeLists syntax) (wang-xinyu#377)
Browse files Browse the repository at this point in the history
  • Loading branch information
rymzt authored Jan 28, 2021
1 parent 5332e0e commit 4ae3e87
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion arcface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Ofast -Wfatal-errors -
cuda_add_library(myplugins SHARED ${PROJECT_SOURCE_DIR}/prelu.cu)

find_package(OpenCV)
include_directories(OpenCV_INCLUDE_DIRS)
include_directories(${OpenCV_INCLUDE_DIRS})

add_executable(arcface-r50 ${PROJECT_SOURCE_DIR}/arcface-r50.cpp)
target_link_libraries(arcface-r50 nvinfer)
Expand Down
2 changes: 1 addition & 1 deletion crnn/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ else()
endif()

find_package(OpenCV)
include_directories(OpenCV_INCLUDE_DIRS)
include_directories(${OpenCV_INCLUDE_DIRS})

add_executable(crnn ${PROJECT_SOURCE_DIR}/crnn.cpp)
target_link_libraries(crnn nvinfer)
Expand Down
2 changes: 1 addition & 1 deletion dbnet/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ find_package(CUDA REQUIRED)
include_directories(${PROJECT_SOURCE_DIR}/include)

find_package(OpenCV)
include_directories(OpenCV_INCLUDE_DIRS)
include_directories(${OpenCV_INCLUDE_DIRS})

add_executable(dbnet ${PROJECT_SOURCE_DIR}/dbnet.cpp)
target_link_libraries(dbnet nvinfer)
Expand Down
2 changes: 1 addition & 1 deletion ibnnet/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ link_directories(/usr/lib/x86_64-linux-gnu/)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -pthread -Wall -Ofast -Wfatal-errors -D_MWAITXINTRIN_H_INCLUDED")

find_package(OpenCV)
include_directories(OpenCV_INCLUDE_DIRS)
include_directories(${OpenCV_INCLUDE_DIRS})

file(GLOB SOURCE_FILES "*.h" "*.cpp")

Expand Down
2 changes: 1 addition & 1 deletion psenet/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Ofast -Wfatal-errors -


find_package(OpenCV)
include_directories(OpenCV_INCLUDE_DIRS)
include_directories(${OpenCV_INCLUDE_DIRS})

file(GLOB SOURCE_FILES "*.h" "*.cpp")

Expand Down
2 changes: 1 addition & 1 deletion retinaface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ cuda_add_library(decodeplugin SHARED ${PROJECT_SOURCE_DIR}/decode.cu)
target_link_libraries(decodeplugin nvinfer cudart)

find_package(OpenCV)
include_directories(OpenCV_INCLUDE_DIRS)
include_directories(${OpenCV_INCLUDE_DIRS})

add_executable(retina_r50 ${PROJECT_SOURCE_DIR}/calibrator.cpp ${PROJECT_SOURCE_DIR}/retina_r50.cpp)
target_link_libraries(retina_r50 nvinfer)
Expand Down
2 changes: 1 addition & 1 deletion retinafaceAntiCov/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Ofast -Wfatal-errors -
cuda_add_library(myplugins SHARED ${PROJECT_SOURCE_DIR}/decode.cu)

find_package(OpenCV)
include_directories(OpenCV_INCLUDE_DIRS)
include_directories(${OpenCV_INCLUDE_DIRS})

add_executable(retinafaceAntiCov ${PROJECT_SOURCE_DIR}/retinafaceAntiCov.cpp)
target_link_libraries(retinafaceAntiCov nvinfer)
Expand Down
2 changes: 1 addition & 1 deletion ufld/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ find_package(CUDA REQUIRED)
include_directories(${PROJECT_SOURCE_DIR}/include)

find_package(OpenCV)
include_directories(OpenCV_INCLUDE_DIRS)
include_directories(${OpenCV_INCLUDE_DIRS})

add_executable(lane_det ${PROJECT_SOURCE_DIR}/lane_det.cpp)
target_link_libraries(lane_det nvinfer)
Expand Down
2 changes: 1 addition & 1 deletion yolov3-spp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ cuda_add_library(yololayer SHARED ${PROJECT_SOURCE_DIR}/yololayer.cu)
target_link_libraries(yololayer nvinfer cudart)

find_package(OpenCV)
include_directories(OpenCV_INCLUDE_DIRS)
include_directories(${OpenCV_INCLUDE_DIRS})

add_executable(yolov3-spp ${PROJECT_SOURCE_DIR}/yolov3-spp.cpp)
target_link_libraries(yolov3-spp nvinfer)
Expand Down
2 changes: 1 addition & 1 deletion yolov3-tiny/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ cuda_add_library(yololayer SHARED ${PROJECT_SOURCE_DIR}/yololayer.cu)
target_link_libraries(yololayer nvinfer cudart)

find_package(OpenCV)
include_directories(OpenCV_INCLUDE_DIRS)
include_directories(${OpenCV_INCLUDE_DIRS})

add_executable(yolov3-tiny ${PROJECT_SOURCE_DIR}/yolov3-tiny.cpp)
target_link_libraries(yolov3-tiny nvinfer)
Expand Down
2 changes: 1 addition & 1 deletion yolov3/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ include_directories(/usr/include/x86_64-linux-gnu/)
link_directories(/usr/lib/x86_64-linux-gnu/)

find_package(OpenCV)
include_directories(OpenCV_INCLUDE_DIRS)
include_directories(${OpenCV_INCLUDE_DIRS})

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Ofast -Wfatal-errors -D_MWAITXINTRIN_H_INCLUDED")

Expand Down
2 changes: 1 addition & 1 deletion yolov4/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ cuda_add_library(myplugins SHARED ${PROJECT_SOURCE_DIR}/yololayer.cu ${PROJECT_S
target_link_libraries(myplugins nvinfer cudart)

find_package(OpenCV)
include_directories(OpenCV_INCLUDE_DIRS)
include_directories(${OpenCV_INCLUDE_DIRS})

add_executable(yolov4 ${PROJECT_SOURCE_DIR}/yolov4.cpp)
target_link_libraries(yolov4 nvinfer)
Expand Down
2 changes: 1 addition & 1 deletion yolov5/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ cuda_add_library(myplugins SHARED ${PROJECT_SOURCE_DIR}/yololayer.cu)
target_link_libraries(myplugins nvinfer cudart)

find_package(OpenCV)
include_directories(OpenCV_INCLUDE_DIRS)
include_directories(${OpenCV_INCLUDE_DIRS})

add_executable(yolov5 ${PROJECT_SOURCE_DIR}/calibrator.cpp ${PROJECT_SOURCE_DIR}/yolov5.cpp)
target_link_libraries(yolov5 nvinfer)
Expand Down

0 comments on commit 4ae3e87

Please sign in to comment.