projects
/
platform
/
upstream
/
zlib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2556706
)
Remove hard-coding of resource compiler in CMakeLists.txt [Blammo]
author
Mark Adler
<madler@alumni.caltech.edu>
Sat, 17 Dec 2011 22:28:33 +0000
(14:28 -0800)
committer
Mark Adler
<madler@alumni.caltech.edu>
Sat, 17 Dec 2011 22:28:33 +0000
(14:28 -0800)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
e173dd7
..
ee25365
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-121,7
+121,7
@@
string(REGEX REPLACE ".*#define[ \t]+ZLIB_VERSION[ \t]+\"([0-9A-Za-z.]+)\".*"
if(MINGW)
# This gets us DLL resource information when compiling on MinGW.
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/zlib1rc.obj
- COMMAND
windres.exe
+ COMMAND
${CMAKE_RC_COMPILER}
-D GCC_WINDRES
-I ${CMAKE_CURRENT_SOURCE_DIR}
-I ${CMAKE_CURRENT_BINARY_DIR}