git-svn-id: svn://db.shs.com.ru/libs@723 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2020-03-04 20:59:11 +00:00
parent ff1adc8cbb
commit ec968e9ad7
13 changed files with 39 additions and 14 deletions

View File

@@ -47,7 +47,7 @@ if (NOT LIBPROJECT)
endif()
message(STATUS "Install ${PROJECT_NAME} to system \"${CMAKE_INSTALL_PREFIX}\"")
else()
message(STATUS "Install ${PROJECT_NAME} to local \"bin\"")
message(STATUS "Install ${PROJECT_NAME} to local \"bin\", \"lib\" and \"include\"")
endif()
endif()
@@ -85,6 +85,10 @@ macro(qad_install _TARGET _H_FILES _QM_FILES)
endif()
else()
qt_install(TARGETS ${_TARGET} DESTINATION bin)
qt_install(TARGETS ${_TARGET} DESTINATION lib)
if(NOT _H_FILES STREQUAL "")
install(FILES ${_H_FILES} DESTINATION include/qad)
endif()
endif()
endif()
endmacro()