build: Fix CMake install for info file. release_1-8-0
authorRichard Kreckel <kreckel@ginac.de>
Wed, 14 Oct 2020 21:16:08 +0000 (23:16 +0200)
committerRichard Kreckel <kreckel@ginac.de>
Wed, 14 Oct 2020 21:16:08 +0000 (23:16 +0200)
It seams like CMake does not know any variable named ${SHARE_INSTALL_PREFIX}.

doc/CMakeLists.txt

index e42e6bda8d5c38c4ed3f95d950c028e07e95efc3..5f17dc27344a59b146de7b8ba6d855934964cfde 100644 (file)
@@ -26,7 +26,7 @@ macro(add_info_file thename)
        add_custom_target(${thename}_html DEPENDS ${${thename}_HTML})
        add_dependencies(info ${thename}_info)
        add_dependencies(html ${thename}_html)
-       install(FILES ${${thename}_INFO} DESTINATION "${SHARE_INSTALL_PREFIX}/info")
+       install(FILES ${${thename}_INFO} DESTINATION "${CMAKE_INSTALL_PREFIX}/share/info")
 endmacro()
 
 macro(pdflatex_process texfile)