From b43350cb71167ad2730e286bf99320322b2cea84 Mon Sep 17 00:00:00 2001 From: Ivan Pelipenko Date: Mon, 7 Sep 2020 12:37:24 +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 21bc1ce..44bd21b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,10 +42,8 @@ macro(cd_plugin NAME _MODULES _LIBS) endmacro() shstk_install(cd FALSE "" "${cd_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) set(_qt_libs cd_core) set(_qt_plugs)