From 61c5230ac1a1c2929af114cc1d2aaf5ed5de0695 Mon Sep 17 00:00:00 2001 From: Ivan Pelipenko Date: Mon, 7 Sep 2020 12:37:46 +0300 Subject: [PATCH] cmake install fix --- CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 16e826e..226bfd5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,10 +46,8 @@ macro(qad_plugin NAME _MODULES _LIBS) endmacro() shstk_install(qad FALSE "" "${qad_VERSION_FILE}") -if (NOT LOCAL) - file(GLOB CMAKES "cmake/*.cmake" "cmake/*.in") - install(FILES ${CMAKES} DESTINATION ${CMAKE_ROOT}/Modules) -endif() +file(GLOB CMAKES "cmake/*.cmake" "cmake/*.in") +install(FILES ${CMAKES} DESTINATION ${CMAKE_ROOT}/Modules) add_subdirectory(libs) if (UTILS)