include_directories (${SDL_gpu_SOURCE_DIR})
include_directories (${SDL_gpu_SOURCE_DIR}/common)
link_directories (${SDL_gpu_SOURCE_DIR}/src)

set(TOOL_LIBS test-common SDL_gpu)

add_executable(compare-images compare-images-src/main.c)
target_link_libraries (compare-images ${TOOL_LIBS})

add_executable(thumb-viewer thumb-viewer-src/main.c)
target_link_libraries (thumb-viewer ${TOOL_LIBS})
include_directories (${SDL_gpu_SOURCE_DIR})
include_directories (${SDL_gpu_SOURCE_DIR}/common)
link_directories (${SDL_gpu_SOURCE_DIR}/src)

set(TOOL_LIBS test-common SDL_gpu ${SDL_gpu_GL_LIBRARIES})

if(MINGW)
    set(DEMO_LIBS ${DEMO_LIBS} mingw32)
endif(MINGW)

add_executable(compare-images compare-images-src/main.c)
target_link_libraries (compare-images ${TOOL_LIBS})

add_executable(thumb-viewer thumb-viewer-src/main.c)
target_link_libraries (thumb-viewer ${TOOL_LIBS})
Fix missing GL symbols in tools.
Fix missing GL symbols in tools.
