Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMakeLists.txt #5

Open
zengwb-lx opened this issue Jul 14, 2020 · 1 comment
Open

CMakeLists.txt #5

zengwb-lx opened this issue Jul 14, 2020 · 1 comment

Comments

@zengwb-lx
Copy link

I'm new to Openvino, can you provide the CMakeLists.txt. thx!

@xYulx
Copy link

xYulx commented Dec 2, 2020

You can try mine.

cmake_minimum_required (VERSION 2.8.11)
project (LFFD-OpenVINO)

find_package( OpenCV COMPONENTS highgui REQUIRED )
include_directories( ${OpenCV_INCLUDE_DIRS} )
find_package( InferenceEngine 1.6 REQUIRED )
include_directories( ${InferenceEngine_INCLUDE_DIRS} )

link_directories(${LIB_FOLDER})

add_library (OpenVINO_LFFD ./src/OpenVINO_LFFD.cpp)

set(SOURCES src/OpenVINO_LFFD.cpp
	    src/OpenVINO_LFFD.h
	    demo.cpp)

add_executable (LFFD-OpenVINO ${SOURCES})

target_link_libraries (LFFD-OpenVINO ${InferenceEngine_LIBRARIES} ${OpenCV_LIBS} )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants