Commit 3a7ad0f9d724e1b3ddf4e9477d71d905848ebf5b
1 parent
3ef48e1b
introduced BR_THIRDPARTY_APPS
Showing
1 changed file
with
5 additions
and
0 deletions
CMakeLists.txt
| @@ -140,6 +140,11 @@ add_subdirectory(openbr) | @@ -140,6 +140,11 @@ add_subdirectory(openbr) | ||
| 140 | 140 | ||
| 141 | # Build applications | 141 | # Build applications |
| 142 | add_subdirectory(app) | 142 | add_subdirectory(app) |
| 143 | +foreach(DIR ${BR_THIRDPARTY_APPS_DIR}) | ||
| 144 | + get_filename_component(FNAME ${DIR} NAME) | ||
| 145 | + # DIR could be out-of-tree so we must specify the build directory | ||
| 146 | + add_subdirectory(${DIR} 3rdparty_apps/${FNAME}) | ||
| 147 | +endforeach() | ||
| 143 | 148 | ||
| 144 | # Build the documentation? | 149 | # Build the documentation? |
| 145 | option(BR_BUILD_DOCUMENTATION "Build Documentation (Requires doxygen and latex)") | 150 | option(BR_BUILD_DOCUMENTATION "Build Documentation (Requires doxygen and latex)") |