diff options
-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} |