Commit 728cc7c6 by Maarten L. Hekkelman

version string

parent 83f72395
...@@ -94,7 +94,7 @@ if(GIT_FOUND AND EXISTS "${CMAKE_SOURCE_DIR}/.git") ...@@ -94,7 +94,7 @@ if(GIT_FOUND AND EXISTS "${CMAKE_SOURCE_DIR}/.git")
else() else()
message(WARNING "Git not found, cannot set version info") message(WARNING "Git not found, cannot set version info")
SET(BUILD_VERSION_STRING "unknown") SET(BUILD_VERSION_STRING ${PROJECT_VERSION})
endif() endif()
# generate version.h # generate version.h
...@@ -175,7 +175,9 @@ install(TARGETS ${PROJECT_NAME} ...@@ -175,7 +175,9 @@ install(TARGETS ${PROJECT_NAME}
if(UNIX) if(UNIX)
install(FILES doc/mkdssp.1 install(FILES doc/mkdssp.1
DESTINATION ${CMAKE_INSTALL_DATADIR}/man/man1) DESTINATION ${CMAKE_INSTALL_DATADIR}/man/man1)
elseif(MSVC AND EXISTS "${CCP4}/html") endif()
if(EXISTS "${CCP4}/html")
install(FILES doc/mkdssp.html install(FILES doc/mkdssp.html
DESTINATION ${CCP4}/html) DESTINATION ${CCP4}/html)
endif() endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment