version information in the CMakeLists.txt are now available in the code

This commit is contained in:
martin
2011-05-06 17:37:49 +02:00
parent 10701d787c
commit e3733a7b0b
5 changed files with 27 additions and 17 deletions
+2 -6
View File
@@ -89,11 +89,9 @@ namespace OGLFT {
FT_Face ft_face;
FT_Error error = FT_New_Face( Library::instance(), filename, 0, &ft_face );
assert (0);
std::cerr << "FreeType error code: " << error << std::endl;
if ( error != 0 ) {
std::cerr << "FreeType error code: " << error << std::endl;
std::cerr << "FreeType error code: " << error << std::endl;
valid_ = false;
return;
}
@@ -1356,8 +1354,6 @@ namespace OGLFT {
{
if ( !isValid() ) return;
std::cerr << "Raster is valid!" << std::endl;
init();
}