From 93caa1737176cae9a10bcd3854aa14ddeae31d22 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Thu, 30 Jun 2016 00:42:08 +0200 Subject: [PATCH] CMake: use CMAKE_CURRENT_LIST_DIR instead of CmakeSourceDir. --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6e9406689..7fbc43b72 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -81,7 +81,8 @@ IF(NOT GIT_COMMIT_HASH) ENDIF(NOT GIT_COMMIT_HASH) configure_file( - ${CMAKE_CURRENT_SOURCE_DIR}/revision.h.in + ${CMAKE_CURRENT_LIST_DIR}/revision.h.in +# ${CMAKE_CURRENT_SOURCE_DIR}/revision.h.in ${CMAKE_CURRENT_BINARY_DIR}/revision.h )