danielepanozzo / gp-old

67 stars 13 forks source link

HW1: how to tell CMAKE the path of libigl(i.e. LIBIGL_INCLUDE_DIR) #42

Closed LihengGong closed 5 years ago

LihengGong commented 5 years ago

I can see from CMakeLists.txt in assignment 1 that libigl is automatically downloaded by the script, but the problem is that LIBIGL_INCLUDE_DIR is not explicitly set.

My question is: should we set it manually ourselves or should we set it by modifying the CMAKE file?

Thanks

danielepanozzo commented 5 years ago

Both options are fine. I recommend the former, since it will then work for all assignments without having to modify the individual cmake files.

LihengGong commented 5 years ago

Thanks prof. Have a nice weekend.