CMake: Bug in FindTET_CPPSDK.cmake?
Posted: 06 Oct 2015, 13:39
I had thought that the CMake variable, TET_CPPSDK_GAZEAPI_LIB, would be set by FindTET_CPPSDK.cmake to the full filepath of GazeApiLib.lib.
Instead, using message (${TET_CPPSDK_GAZEAPI_LIB}) shows me this becomes the somewhat garbled:
optimizedC:/mypath/tet-cpp-client/lib/GazeApiLib.libdebugC:/mypath/tet-cpp-client/lib/GazeApiLibD.lib
This seems due to the last two SET invocations within the scope of the IF( WIN32 ) statement. If I comment these out, things look better. With message (${TET_CPPSDK_DEBUG_GAZEAPI_LIB}) and message (${TET_CPPSDK_GAZEAPI_LIB}) I now get:
C:/mypath/tet-cpp-client/lib/GazeApiLibD.lib
C:/mypath/tet-cpp-client/lib/GazeApiLib.lib
Is this a bug in FindTET_CPPSDK.cmake?
Instead, using message (${TET_CPPSDK_GAZEAPI_LIB}) shows me this becomes the somewhat garbled:
optimizedC:/mypath/tet-cpp-client/lib/GazeApiLib.libdebugC:/mypath/tet-cpp-client/lib/GazeApiLibD.lib
This seems due to the last two SET invocations within the scope of the IF( WIN32 ) statement. If I comment these out, things look better. With message (${TET_CPPSDK_DEBUG_GAZEAPI_LIB}) and message (${TET_CPPSDK_GAZEAPI_LIB}) I now get:
C:/mypath/tet-cpp-client/lib/GazeApiLibD.lib
C:/mypath/tet-cpp-client/lib/GazeApiLib.lib
Is this a bug in FindTET_CPPSDK.cmake?