aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/modules/HandleLLVMOptions.cmake
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-10-11 12:51:44 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-10-11 12:51:44 +0000
commite2aa5d53db175dff634069cacb31487e3ddb9754 (patch)
treeaf972dbca474a0a5833d48bfa80b3aadb28d762a /cmake/modules/HandleLLVMOptions.cmake
parent11b8a00a267be70a6f30a630f8cb3323d3b7c4c8 (diff)
downloadexternal_llvm-e2aa5d53db175dff634069cacb31487e3ddb9754.zip
external_llvm-e2aa5d53db175dff634069cacb31487e3ddb9754.tar.gz
external_llvm-e2aa5d53db175dff634069cacb31487e3ddb9754.tar.bz2
Add -D__STDC_FORMAT_MACROS to use PRIx64.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141663 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/modules/HandleLLVMOptions.cmake')
-rw-r--r--cmake/modules/HandleLLVMOptions.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/modules/HandleLLVMOptions.cmake b/cmake/modules/HandleLLVMOptions.cmake
index 908bf6c..9dc1624 100644
--- a/cmake/modules/HandleLLVMOptions.cmake
+++ b/cmake/modules/HandleLLVMOptions.cmake
@@ -187,6 +187,7 @@ elseif( LLVM_COMPILER_IS_GCC_COMPATIBLE )
endif( MSVC )
add_llvm_definitions( -D__STDC_CONSTANT_MACROS )
+add_llvm_definitions( -D__STDC_FORMAT_MACROS )
add_llvm_definitions( -D__STDC_LIMIT_MACROS )
option(LLVM_INCLUDE_TESTS "Generate build targets for the LLVM unit tests." ON)