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

Commit

Permalink
Merge pull request #6 from Xaltotun/feature/cmake_build
Browse files Browse the repository at this point in the history
Fixed MONO_API_VERSION define for the cmake build.
  • Loading branch information
tritao authored Jun 29, 2016
2 parents 73df95d + 8d00fd3 commit 8b1520c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ set(CMAKE_MODULE_PATH
set(LLVM_VERSION_MAJOR 3)
set(LLVM_VERSION_MINOR 6)
set(LLVM_VERSION_PATCH 0)
set(MONO_API_VERSION 4)

if (NOT PACKAGE_VERSION)
set(PACKAGE_VERSION "${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}svn")
Expand Down
2 changes: 1 addition & 1 deletion include/llvm/Config/llvm-config.h.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,6 @@
/* Define if we link Polly to the tools */
#cmakedefine LINK_POLLY_INTO_TOOLS

#cmakedefine MONO_API_VERSION 4
#cmakedefine MONO_API_VERSION ${MONO_API_VERSION}

#endif

0 comments on commit 8b1520c

Please sign in to comment.