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

This commit is contained in:
2020-03-23 14:08:28 +00:00
parent 782ac32cb7
commit 665578ace3
25 changed files with 119 additions and 121 deletions

View File

@@ -1,7 +1,8 @@
cmake_minimum_required(VERSION 3.0)
cmake_policy(SET CMP0017 NEW) # need include() with .cmake
project(qad)
if (POLICY CMP0017)
cmake_policy(SET CMP0017 NEW)
if ("x${CMAKE_MODULE_PATH}" STREQUAL "x")
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
endif()
if (NOT LIBPROJECT)
option(LIB "System install" 1)
@@ -53,7 +54,7 @@ if (NOT LIBPROJECT)
endif()
endif()
set(CMAKES "FindQAD.cmake" "QtWraps.cmake" "QADDeploy.cmake" "TargetArch.cmake")
file(GLOB CMAKES "cmake/*.cmake")
if (LIB)
install(FILES ${CMAKES} DESTINATION ${CMAKE_ROOT}/Modules)