Merge pull request #929 from assimp/feature/issue_922

CMake: use CMAKE_CURRENT_LIST_DIR instead of CmakeSourceDir.
pull/931/head
Kim Kulling 2016-06-30 01:02:32 +02:00 committed by GitHub
commit e7acd82b8c
1 changed files with 2 additions and 1 deletions

View File

@ -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
)