diff options
| -rw-r--r-- | zlibConfig.cmake.in | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/zlibConfig.cmake.in b/zlibConfig.cmake.in index 713cac45..8252ab34 100644 --- a/zlibConfig.cmake.in +++ b/zlibConfig.cmake.in | |||
| @@ -1,14 +1,6 @@ | |||
| 1 | @PACKAGE_INIT@ | 1 | @PACKAGE_INIT@ |
| 2 | 2 | ||
| 3 | set(_ZLIB_supported_components "") | 3 | set(_ZLIB_supported_components "shared" "static") |
| 4 | |||
| 5 | if(@ZLIB_BUILD_SHARED@) | ||
| 6 | list(APPEND _ZLIB_supported_components shared) | ||
| 7 | endif(@ZLIB_BUILD_SHARED@) | ||
| 8 | |||
| 9 | if(@ZLIB_BUILD_STATIC@) | ||
| 10 | list(APPEND _ZLIB_supported_components static) | ||
| 11 | endif(@ZLIB_BUILD_STATIC@) | ||
| 12 | 4 | ||
| 13 | if(ZLIB_FIND_COMPONENTS) | 5 | if(ZLIB_FIND_COMPONENTS) |
| 14 | foreach(_comp ${ZLIB_FIND_COMPONENTS}) | 6 | foreach(_comp ${ZLIB_FIND_COMPONENTS}) |
