build: Fix plugins not being compiled at all anymore
This commit is contained in:
parent
c22d1033eb
commit
8850d42246
@ -161,8 +161,8 @@ endmacro()
|
|||||||
macro(createPackage)
|
macro(createPackage)
|
||||||
file(MAKE_DIRECTORY "plugins")
|
file(MAKE_DIRECTORY "plugins")
|
||||||
foreach (plugin IN LISTS PLUGINS)
|
foreach (plugin IN LISTS PLUGINS)
|
||||||
if (TARGET ${plugin})
|
|
||||||
add_subdirectory("plugins/${plugin}")
|
add_subdirectory("plugins/${plugin}")
|
||||||
|
if (TARGET ${plugin})
|
||||||
set_target_properties(${plugin} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/plugins)
|
set_target_properties(${plugin} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/plugins)
|
||||||
install(TARGETS ${plugin} RUNTIME DESTINATION ${PLUGINS_INSTALL_LOCATION})
|
install(TARGETS ${plugin} RUNTIME DESTINATION ${PLUGINS_INSTALL_LOCATION})
|
||||||
add_dependencies(imhex ${plugin})
|
add_dependencies(imhex ${plugin})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user