acidrainstudios / TrueReality

True Reality (TR) is an open source LGPL Game and Simulation Engine written entirely in Standard C++ and OpenGL. It runs on all Windows platforms and GNU/Linux. OpenSceneGraph is used as its graphics engine, along with many other open source projects for support of various features.
GNU Lesser General Public License v3.0
12 stars 7 forks source link

FindTR defines different include paths for debug libraries #126

Closed DieSlower closed 5 years ago

DieSlower commented 5 years ago

If a library is found under a debug mode, the include path will be "TR_LIBNAME_INCLUDE_DIR_DEBUG" instead of "TR_LIBNAME_INCLUDE_DIR" It should always be in the form of "TR_LIBNAME_INCLUDE_DIR" with no DEBUG addition or the debug addition needs to somehow be added to the cmake prefix path when that is exported to projects that search and really on TR