CMake Error at Thirdparty/Pangolin/build/PangolinTargets.cmake:47 (set_target_properties):
The link interface of target "pango_core" contains:
Threads::Threads
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
Call Stack (most recent call first):
Thirdparty/Pangolin/build/PangolinConfig.cmake:6 (include)
CMakeLists.txt:67 (find_package)
Please suggest what am I doing wrong and what is the correct way of using Pangolin in a CMake project.
I'm on windows, using visual studio 16 2019 for building ORB_SLAM3 package and using Pangolin 0.9.1 release.
My directory structure is organized as follows:
The relevant lines in CMakeLists.txt has the following
)
When I run cmake, I get the following error:
Please suggest what am I doing wrong and what is the correct way of using Pangolin in a CMake project.