katie_definition(-DQT_NO_NAS)
endif()
+if(NOT WITH_PNG OR NOT PNG_FOUND)
+ katie_definition(-DQT_NO_IMAGEFORMAT_PNG)
+endif()
+
+if(NOT WITH_JPEG OR NOT JPEG_FOUND)
+ katie_definition(-DQT_NO_IMAGEFORMAT_JPEG)
+endif()
+
+if(NOT WITH_MNG OR NOT MNG_FOUND)
+ katie_definition(-DQT_NO_IMAGEFORMAT_MNG)
+endif()
+
+if(NOT WITH_TIFF OR NOT TIFF_FOUND)
+ katie_definition(-DQT_NO_IMAGEFORMAT_TIFF)
+endif()
+
# semi-shared
include(src/shared/linguist/linguist.cmake)
include(src/shared/bootstrap.cmake)
${CMAKE_CURRENT_SOURCE_DIR}/egl/qegl_stub.cpp
${CMAKE_CURRENT_SOURCE_DIR}/egl/qeglproperties_stub.cpp
)
- add_definitions(-DQT_NO_EGL)
endif()
)
include_directories(${PNG_INCLUDE_DIRS})
add_definitions(${PNG_DEFINITIONS})
-else()
- add_definitions(-DQT_NO_IMAGEFORMAT_PNG)
endif()
if(WITH_JPEG AND JPEG_FOUND)
${JPEG_LIBRARIES}
)
include_directories(${JPEG_INCLUDE_DIR})
-else()
- add_definitions(-DQT_NO_IMAGEFORMAT_JPEG)
endif()
if(WITH_MNG AND MNG_FOUND)
${MNG_LIBRARIES}
)
include_directories(${MNG_INCLUDES})
-else()
- add_definitions(-DQT_NO_IMAGEFORMAT_MNG)
endif()
if(WITH_TIFF AND TIFF_FOUND)
${TIFF_LIBRARIES}
)
include_directories(${TIFF_INCLUDE_DIR})
-else()
- add_definitions(-DQT_NO_IMAGEFORMAT_TIFF)
endif()
if(KATIE_PLATFORM STREQUAL "win32")