diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2011-12-17 14:28:33 -0800 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2011-12-17 14:28:33 -0800 |
commit | 4ab814df83f0ef5a0ccb28f19c3bd52c837ae4ec (patch) | |
tree | 1ce32b539903d69346cfd717b392d5367e443dda | |
parent | 2556706d67b471b45e0882ea4f32aa8b2efc14ec (diff) | |
download | zlib-4ab814df83f0ef5a0ccb28f19c3bd52c837ae4ec.tar.gz zlib-4ab814df83f0ef5a0ccb28f19c3bd52c837ae4ec.tar.bz2 zlib-4ab814df83f0ef5a0ccb28f19c3bd52c837ae4ec.zip |
Remove hard-coding of resource compiler in CMakeLists.txt [Blammo]
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e173dd7..ee25365 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -121,7 +121,7 @@ string(REGEX REPLACE ".*#define[ \t]+ZLIB_VERSION[ \t]+\"([0-9A-Za-z.]+)\".*" | |||
121 | if(MINGW) | 121 | if(MINGW) |
122 | # This gets us DLL resource information when compiling on MinGW. | 122 | # This gets us DLL resource information when compiling on MinGW. |
123 | add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/zlib1rc.obj | 123 | add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/zlib1rc.obj |
124 | COMMAND windres.exe | 124 | COMMAND ${CMAKE_RC_COMPILER} |
125 | -D GCC_WINDRES | 125 | -D GCC_WINDRES |
126 | -I ${CMAKE_CURRENT_SOURCE_DIR} | 126 | -I ${CMAKE_CURRENT_SOURCE_DIR} |
127 | -I ${CMAKE_CURRENT_BINARY_DIR} | 127 | -I ${CMAKE_CURRENT_BINARY_DIR} |