diff options
author | Petri Lehtinen <petri@digip.org> | 2016-11-16 07:11:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-16 07:11:03 +0200 |
commit | 746c2c3a996a7f6e80bd19fe3de438637e6363e1 (patch) | |
tree | 9421dbc1b5fd99783bc41ebe5d12620428335d40 /CMakeLists.txt | |
parent | bc5741fb1ac730ead24e9bd08977fc6c248e04b0 (diff) | |
parent | 2af820fb9914318942433a6a5a1dda1c03b57fdd (diff) | |
download | jansson-746c2c3a996a7f6e80bd19fe3de438637e6363e1.zip jansson-746c2c3a996a7f6e80bd19fe3de438637e6363e1.tar.gz jansson-746c2c3a996a7f6e80bd19fe3de438637e6363e1.tar.bz2 |
Merge pull request #321 from quiet/master
parens for LONG_LONG_INT in cmake
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 17974c2..e756eb6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -250,7 +250,7 @@ endif () # detect what to use for the 64 bit type. # Note: I will prefer long long if I can get it, as that is what the automake system aimed for. if (NOT DEFINED JSON_INT_T) - if (HAVE_LONG_LONG_INT AND (${LONG_LONG_INT} EQUAL 8)) + if (HAVE_LONG_LONG_INT AND ((${LONG_LONG_INT}) EQUAL 8)) set (JSON_INT_T "long long") elseif (HAVE_INT64_T) set (JSON_INT_T int64_t) |