diff options
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3839bc7..1069c4f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -132,9 +132,9 @@ set(GD_PROGRAMS gdcmpgif) if (PNG_FOUND) set(GD_PROGRAMS ${GD_PROGRAMS} gdtopng pngtogd) - if (NOT WIN32) + if (NOT MSVC) set(GD_PROGRAMS ${GD_PROGRAMS} webpng) - endif (NOT WIN32) + endif (NOT MSVC) if (ZLIB_FOUND) set(GD_PROGRAMS ${GD_PROGRAMS} gdparttopng gd2topng pngtogd2) endif() @@ -152,11 +152,6 @@ endif() foreach(program ${GD_PROGRAMS}) add_executable(${program} ${program}.c) - if (WIN32) - list(REMOVE_ITEM program webpng.c annotate.c) - list(REMOVE_ITEM GD_PROGRAMS webpng) - list(REMOVE_ITEM GD_PROGRAMS annotate) - endif (WIN32) if (BUILD_SHARED_LIBS) target_link_libraries(${program} ${GD_LIB}) |