Skip to content
Snippets Groups Projects
Commit 08d56243 authored by Martin Christoph Hierholzer's avatar Martin Christoph Hierholzer
Browse files

fix(project-template): cmake dev warning in FindDOOCS

parent eb9db68a
No related branches found
No related tags found
1 merge request!3update project template
......@@ -88,7 +88,10 @@ function(expandDoocsComponentName longName shortName)
endfunction()
include(FindPkgConfig)
if(NOT PKG_CONFIG_FOUND)
include(CMakeFindDependencyMacro)
find_dependency(PkgConfig)
endif()
# thread libraries are required by DOOCS but seem not to be added through pkgconfig...
find_package(Threads REQUIRED)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment