Browse Source

Disable other utilities on Windows/GLES.

They require texture image queries which aren't available there.
pull/110/head
Vladimír Vondruš 11 years ago
parent
commit
8f9bda9817
  1. 2
      src/Magnum/Text/CMakeLists.txt
  2. 2
      src/Magnum/TextureTools/CMakeLists.txt

2
src/Magnum/Text/CMakeLists.txt

@ -69,7 +69,7 @@ if(WITH_FONTCONVERTER)
target_link_libraries(magnum-fontconverter MagnumText MagnumWindowlessCglApplication)
elseif(CORRADE_TARGET_UNIX AND NOT TARGET_GLES)
target_link_libraries(magnum-fontconverter MagnumText MagnumWindowlessGlxApplication)
elseif(CORRADE_TARGET_WINDOWS)
elseif(CORRADE_TARGET_WINDOWS AND NOT TARGET_GLES)
target_link_libraries(magnum-fontconverter MagnumText MagnumWindowlessWglApplication)
else()
message(FATAL_ERROR "magnum-fontconverter is not available on this platform. Set WITH_FONTCONVERTER to OFF to suppress this warning.")

2
src/Magnum/TextureTools/CMakeLists.txt

@ -59,7 +59,7 @@ if(WITH_DISTANCEFIELDCONVERTER)
target_link_libraries(magnum-distancefieldconverter MagnumTextureTools MagnumWindowlessCglApplication)
elseif(CORRADE_TARGET_UNIX AND NOT TARGET_GLES)
target_link_libraries(magnum-distancefieldconverter MagnumTextureTools Magnum MagnumWindowlessGlxApplication)
elseif(CORRADE_TARGET_WINDOWS)
elseif(CORRADE_TARGET_WINDOWS AND NOT TARGET_GLES)
target_link_libraries(magnum-distancefieldconverter MagnumTextureTools MagnumWindowlessWglApplication)
else()
message(FATAL_ERROR "magnum-distancefieldconverter is not available on this platform. Set WITH_DISTANCEFIELDCONVERTER to OFF to suppress this warning.")

Loading…
Cancel
Save