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

This commit is contained in:
2020-03-10 20:13:59 +00:00
parent fc6a2b60f5
commit 894bebbadb

View File

@@ -54,12 +54,13 @@ endif()
set(CMAKES "FindQAD.cmake" "QtWraps.cmake")
if (LIB)
install(FILES ${CMAKES} DESTINATION ${CMAKE_ROOT}/Modules)
if (WIN32)
install(FILES ${EXPORT_HEADER} DESTINATION ${MINGW_INCLUDE}/qad)
install(FILES ${EXPORT_HEADER} DESTINATION ${MINGW_INCLUDE}/${_DIR})
else()
install(FILES ${EXPORT_HEADER} DESTINATION ${CMAKE_INSTALL_PREFIX}/include/qad)
endif()
else()
install(FILES ${EXPORT_HEADER} DESTINATION include/qad)
endif()
macro(qad_install _TARGET _H_FILES _QM_FILES)