Closed vadersb closed 2 years ago
Thanks for filing the issue - I'll look into adding target_include_directories
(I think this would need to be done for both static and dynamic library builds), for now you can add include_directories("enkiTS/src")
to your CmakeLists.txt to add the appropriate directory to your build includes, as per the one in the enkiTSExamples project.
ok, great, thank you!
I have a project with the following setup in CMakeLists.txt:
where ENKITS_DIR is a CMake var, a path to the library folder, outside of my project source path.
the problem is mytest01 doesn't compile, because this header file can't be found:
#include "TaskScheduler.h"
There are two important things that have to be mentioned:
I have little experience with CMake so maybe there is a problem with my project setup (although it does work with other libs)?