Skip to content

Conversation

yangxiang92
Copy link

@yangxiang92 yangxiang92 commented Mar 24, 2021

Add modern cmake style CMakeLists.txt so that other modules can refer to it by simply using add_subdirectory or find_package.

e.g.

add_subdirectory(third_party/QtOpenCV)
target_link_libraries(${PROJECT_NAME} PRIVATE QtOpenCV)

or

find_package(QtOpenCV REQUIRED)
target_link_libraries(${PROJECT_NAME} PRIVATE QtOpenCV)

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

Successfully merging this pull request may close these issues.

1 participant