diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2015-05-31 21:38:51 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2015-05-31 21:38:51 (GMT) |
commit | dc3f46d5a74090f306496729a7684d418ae291a8 (patch) | |
tree | cb35636058aa9af42b9159cd9d4f74757bb63723 | |
parent | 61c84cb83c66b7c3cd09b9fee8f9634b95b142b0 (diff) | |
download | Doxygen-dc3f46d5a74090f306496729a7684d418ae291a8.zip Doxygen-dc3f46d5a74090f306496729a7684d418ae291a8.tar.gz Doxygen-dc3f46d5a74090f306496729a7684d418ae291a8.tar.bz2 |
Fix for Travis CI build (attempt 9)
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | cmake/version.cmake | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index aa1902a..d203959 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,6 +25,7 @@ option(win_static "Link with /MT in stead of /MD on windows" OFF) option(english_only "Only compile in support for the English language" OFF) list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") +set(SOURCE "${CMAKE_SOURCE_DIR}") include(version) set(sqlite3 "0" CACHE INTERNAL "used in settings.h") diff --git a/cmake/version.cmake b/cmake/version.cmake index 2ebf42d..48de7b2 100644 --- a/cmake/version.cmake +++ b/cmake/version.cmake @@ -1,2 +1,2 @@ -file (STRINGS "VERSION" VERSION) +file (STRINGS "${SOURCE}/VERSION" VERSION) set(ENV{VERSION} "${VERSION}") |