Commit dbdfe454bc03978f1a4c9105bcbe9f33ee5104ae

Authored by Josh Klontz
1 parent 9f89a05f

make BR_THIRDPARTY_PLUGINS_DIR easier to set

Showing 1 changed file with 2 additions and 0 deletions
openbr/plugins/plugins.cmake
... ... @@ -5,6 +5,8 @@
5 5 # BR_THIRDPARTY_LIBS - Additional libaries needed by a plugin
6 6  
7 7 # Also look for CMake modules in the thirdparty plugins folder(s)
  8 +set(BR_THIRDPARTY_PLUGINS_DIR CACHE PATH "")
  9 +mark_as_advanced(BR_THIRDPARTY_PLUGINS_DIR)
8 10 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${BR_THIRDPARTY_PLUGINS_DIR})
9 11  
10 12 foreach(DIR ${BR_THIRDPARTY_PLUGINS_DIR})
... ...