diff options
author | Sebastian Schuberth <sschuberth@gmail.com> | 2015-10-07 11:31:07 +0300 |
---|---|---|
committer | Sebastian Schuberth <sschuberth@gmail.com> | 2015-12-02 16:50:25 +0300 |
commit | 0878ca9b7c0e8269f83437956189b9920722afdd (patch) | |
tree | 39a5ef7e4901efe12561e6bbd93392a9b5cfc095 | |
parent | 15e6a5afb9217b09e60cd0aef48e0a7781f3922f (diff) |
CMakeLists: Compare CMAKE_SIZEOF_VOID_P as a number, not as a string
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0b7a03c67..40a52bc01 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -235,7 +235,7 @@ IF (WIN32 AND WINHTTP) SET(LIBWINHTTP_PATH "${CMAKE_CURRENT_BINARY_DIR}/deps/winhttp") FILE(MAKE_DIRECTORY ${LIBWINHTTP_PATH}) - IF ("${CMAKE_SIZEOF_VOID_P}" EQUAL "8") + IF (CMAKE_SIZEOF_VOID_P EQUAL 8) set(WINHTTP_DEF "${CMAKE_CURRENT_SOURCE_DIR}/deps/winhttp/winhttp64.def") ELSE() set(WINHTTP_DEF "${CMAKE_CURRENT_SOURCE_DIR}/deps/winhttp/winhttp.def") |