Skip to content

Commit

Permalink
Fix linking for tools under mingw32.
Browse files Browse the repository at this point in the history
  • Loading branch information
grimfang4 committed Jul 24, 2017
1 parent 8c796eb commit 44c11a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ 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)
set(TOOL_LIBS ${TOOL_LIBS} mingw32)
endif(MINGW)

add_executable(compare-images compare-images-src/main.c)
Expand Down

0 comments on commit 44c11a2

Please sign in to comment.