diff options
author | Pierre Joye <pierre.php@gmail.com> | 2021-08-23 21:18:29 +0700 |
---|---|---|
committer | Pierre Joye <pierre.php@gmail.com> | 2021-08-23 21:18:29 +0700 |
commit | 1a04cda56a322f05434a4e2a9150e9542d8cda30 (patch) | |
tree | b6748726e6e29a117f269388e50867e800e83ce6 /src | |
parent | 8864a3086f26f0d8befb4c7aaa9ed32268283b31 (diff) | |
download | libgd-1a04cda56a322f05434a4e2a9150e9542d8cda30.tar.gz |
remove annotate from windows builds
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f60dce5..63bfc7e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -161,7 +161,9 @@ if (PNG_FOUND) endif() if (FREETYPE_FOUND AND JPEG_FOUND) - set(GD_PROGRAMS ${GD_PROGRAMS} annotate) + if (NOT WIN32) + set(GD_PROGRAMS ${GD_PROGRAMS} annotate) + endif (NOT WIN32) endif() if (ZLIB_FOUND) @@ -171,8 +173,9 @@ endif() foreach(program ${GD_PROGRAMS}) add_executable(${program} ${program}.c) if (WIN32) - list(REMOVE_ITEM program webpng.c) + 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) |