From 8850d42246cbc671a29e445000f75de22b72c27e Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sat, 29 May 2021 23:06:36 +0200 Subject: [PATCH] build: Fix plugins not being compiled at all anymore --- cmake/build_helpers.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/build_helpers.cmake b/cmake/build_helpers.cmake index e52b55d51..2323997c6 100644 --- a/cmake/build_helpers.cmake +++ b/cmake/build_helpers.cmake @@ -161,8 +161,8 @@ endmacro() macro(createPackage) file(MAKE_DIRECTORY "plugins") foreach (plugin IN LISTS PLUGINS) + add_subdirectory("plugins/${plugin}") if (TARGET ${plugin}) - add_subdirectory("plugins/${plugin}") set_target_properties(${plugin} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/plugins) install(TARGETS ${plugin} RUNTIME DESTINATION ${PLUGINS_INSTALL_LOCATION}) add_dependencies(imhex ${plugin})