diff options
author | redfish <redfish@galactica.pw> | 2017-10-20 22:07:34 -0400 |
---|---|---|
committer | redfish <redfish@galactica.pw> | 2017-10-20 22:07:34 -0400 |
commit | 11e0deef31a0361430d3d68f6f90e5c40a956d71 (patch) | |
tree | 5471888b9fbbc4853dddde8c7b2994178895b9a4 /cmake/Version.cmake | |
parent | .gitignore: do not ignore cmake source files (diff) | |
download | monero-11e0deef31a0361430d3d68f6f90e5c40a956d71.tar.xz |
cmake: add dep of version lib on version.cpp
Also, move cmake source files into cmake/ to keep them together.
Diffstat (limited to '')
-rw-r--r-- | cmake/Version.cmake (renamed from version.cmake) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/version.cmake b/cmake/Version.cmake index 75343c381..fb636c4ff 100644 --- a/version.cmake +++ b/cmake/Version.cmake @@ -41,7 +41,7 @@ elseif (GIT_FOUND OR Git_FOUND) COMMAND "${CMAKE_COMMAND}" "-D" "GIT=${GIT_EXECUTABLE}" "-D" "TO=${CMAKE_BINARY_DIR}/version.cpp" - "-P" "src/version.cmake" + "-P" "cmake/GenVersion.cmake" BYPRODUCTS "${CMAKE_BINARY_DIR}/version.cpp" WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}") else() |