Commit ee44ce37 authored by Frédéric Larue's avatar Frédéric Larue

CMakeLists.txt modified so that plugins are searched recursively in the plugins folder.

parent c7f7f056
......@@ -130,7 +130,7 @@ endforeach()
message( STATUS "Looking for plugins:" )
file( GLOB PLUGINS_DIR LIST_DIRECTORIES true ${CMAKE_SOURCE_DIR}/plugins/* )
file( GLOB_RECURSE PLUGINS_DIR LIST_DIRECTORIES true ${CMAKE_SOURCE_DIR}/plugins/* )
foreach( PLUGIN_PATH IN ITEMS ${PLUGINS_DIR} )
if( IS_DIRECTORY ${PLUGIN_PATH} AND EXISTS ${PLUGIN_PATH}/CMakeLists.txt )
get_filename_component( PLUGIN_NAME ${PLUGIN_PATH} NAME )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment