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

ifopt-config.cmake error on Windows #73

Open
johnwason opened this issue Jul 22, 2021 · 1 comment
Open

ifopt-config.cmake error on Windows #73

johnwason opened this issue Jul 22, 2021 · 1 comment

Comments

@johnwason
Copy link

I am getting the following error when calling 'find_package()' for ifopt:

CMake Error at C:/ws/conda-bld/tesseract-robotics-superpack_1626912746269/_h_env/opt/tesseract_robotics/share/ifopt/cmake/ifopt-config.cmake:47 (get_property):
  IMPORTED_LOCATION not set for imported target "ifopt::ifopt_core".
Call Stack (most recent call first):
  CMakeLists.txt:12 (find_package)

The offending line seems to be here:

get_property(ifopt_LIB_CORE TARGET ifopt::ifopt_core PROPERTY LOCATION)

This make be caused by changes to how newer versions of CMake generate the targets files.

@johnwason
Copy link
Author

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