Commit 45bbf26
support mingw-gcc on WIN platform (#14)
* 1. to support mingw-gcc on WIN platform
2. and the link of "tacopie @ 8714fce" should change to "https://github.com/Cylix/tacopie/tree/5b60d9a9e87aa4ba8118a66f6d65eb15ab0c8769"
3. the compile command: cmake -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=YOUR:\PATH\cpp_redis . && mingw32-make install
* Included OR conditional for WIN32
To ensure compatibility, I believe it best to include WIN32 in conjunction with MSVC.
* Fixed endif for MSVC
It is unnecessary to include the variable checked in the endif statement in CMake.1 parent f444559 commit 45bbf26
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
0 commit comments