detecting assimp with cmake

detecting assimp with cmake

Postby rogerdv » 10 Jul 2013, 17:50

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.
User avatar
rogerdv
 
Posts: 289
Joined: 10 Dec 2009, 18:26

Re: detecting assimp with cmake

Postby silnarm » 12 Jul 2013, 08:20

silnarm
 
Posts: 7
Joined: 26 Feb 2010, 04:19

Re: detecting assimp with cmake

Postby rogerdv » 12 Jul 2013, 16:48

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.
User avatar
rogerdv
 
Posts: 289
Joined: 10 Dec 2009, 18:26

Re: detecting assimp with cmake

Postby silnarm » 12 Jul 2013, 23:13

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.
silnarm
 
Posts: 7
Joined: 26 Feb 2010, 04:19

Re: detecting assimp with cmake

Postby rogerdv » 16 Jul 2013, 13:25

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.
User avatar
rogerdv
 
Posts: 289
Joined: 10 Dec 2009, 18:26

Who is online

Users browsing this forum: No registered users and 1 guest

cron