Page 1 of 1
detecting assimp with cmake

Posted:
10 Jul 2013, 17:50
by rogerdv
Does somebody here has some experience with the topic? I need to detect assimp form cmake, na dcant find any suitable example, no matter how much I google about it.
Re: detecting assimp with cmake

Posted:
12 Jul 2013, 08:20
by silnarm
Re: detecting assimp with cmake

Posted:
12 Jul 2013, 16:48
by rogerdv
Nope, it produces an error.
Also tried assimp-config.cmake that ocmes with assimp 3 and doesnt produces any result, no errors, but variables arent set.
Re: detecting assimp with cmake

Posted:
12 Jul 2013, 23:13
by silnarm
Works for me, what's the error ?
It has good search paths, should find it on any unix based system, if you are on windows you will, as usual, need to either provide hints or set the header/lib location directly.
Re: detecting assimp with cmake

Posted:
16 Jul 2013, 13:25
by rogerdv
Ok, problem solved by including the source in the repo. Not an elegant solution, but helps with Windows port and actually was the engine author's idea.