Problem with find_package(ASSIMP) (wrong _IMPORT_PREFIX) #4121
Unanswered
AntMaster7
asked this question in
Q&A
Replies: 1 comment
-
That could be a CMake issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to add assimp to my project by using the find_package function. Everything works so far, except the imported target references the lib file in the wrong location. My CMakeLists.txt file should be pretty straight forward:
However, when I run it I get the following error:
The value of _IMPORT_PREFIX in assimpTargets.cmake is C:/Source/Test which should be C:/Source/Test/build/thirdparty/. How can I fix this?
I have installed assimp before that with the following commands
Beta Was this translation helpful? Give feedback.
All reactions