diff --git a/CMakeLists.txt b/CMakeLists.txt index 31d88d213..3bfb92f9f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -117,7 +117,9 @@ elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") add_definitions(-DNOMINMAX) endif() -message("-- Build type is ${CMAKE_BUILD_TYPE}") +if (CMAKE_BUILD_TYPE) + message("-- Build type is ${CMAKE_BUILD_TYPE}") +endif() # Set up compiler and linker flags for debug, profiling or release builds. if(CMAKE_BUILD_TYPE MATCHES Debug) diff --git a/es-core/src/resources/TextureData.h b/es-core/src/resources/TextureData.h index d4da9484f..1f181de89 100644 --- a/es-core/src/resources/TextureData.h +++ b/es-core/src/resources/TextureData.h @@ -9,6 +9,7 @@ #ifndef ES_CORE_RESOURCES_TEXTURE_DATA_H #define ES_CORE_RESOURCES_TEXTURE_DATA_H +#include #include #include #include diff --git a/es-core/src/resources/TextureResource.h b/es-core/src/resources/TextureResource.h index e652cdb3d..e0f297b2c 100644 --- a/es-core/src/resources/TextureResource.h +++ b/es-core/src/resources/TextureResource.h @@ -14,6 +14,7 @@ #include "resources/ResourceManager.h" #include "resources/TextureDataManager.h" +#include #include #include