Skip to content
This repository was archived by the owner on Dec 20, 2019. It is now read-only.

Commit 8b1520c

Browse files
authored
Merge pull request #6 from Xaltotun/feature/cmake_build
Fixed MONO_API_VERSION define for the cmake build.
2 parents 73df95d + 8d00fd3 commit 8b1520c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ set(CMAKE_MODULE_PATH
2828
set(LLVM_VERSION_MAJOR 3)
2929
set(LLVM_VERSION_MINOR 6)
3030
set(LLVM_VERSION_PATCH 0)
31+
set(MONO_API_VERSION 4)
3132

3233
if (NOT PACKAGE_VERSION)
3334
set(PACKAGE_VERSION "${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}svn")

include/llvm/Config/llvm-config.h.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,6 @@
9595
/* Define if we link Polly to the tools */
9696
#cmakedefine LINK_POLLY_INTO_TOOLS
9797

98-
#cmakedefine MONO_API_VERSION 4
98+
#cmakedefine MONO_API_VERSION ${MONO_API_VERSION}
9999

100100
#endif

0 commit comments

Comments
 (0)