Sorry, I have to run right now, so I could not dive in throughly ATM
(but I will be able to do this tomorrow).
Could you please test the following patch instead? Policy CMP0017 defaults
to OLD now, I suspect this could be related.
--
WBR,
Vadim Zhukov
$OpenBSD$
--- cmake/modules/LLVMConfig.cmake.in.orig Thu May 2 00:44:02 2013
+++ cmake/modules/LLVMConfig.cmake.in Thu May 2 00:43:19 2013
@@ -36,6 +36,8 @@ set(LLVM_INCLUDE_DIRS ${LLVM_INSTALL_PREFIX}/include)
set(LLVM_LIBRARY_DIRS ${LLVM_INSTALL_PREFIX}/lib)
set(LLVM_DEFINITIONS "-D__STDC_LIMIT_MACROS" "-D__STDC_CONSTANT_MACROS")
+cmake_policy(SET CMP0017 NEW)
+
# We try to include using the current setting of CMAKE_MODULE_PATH,
# which suppossedly was filled by the user with the directory where
# this file was installed: