Commit 895363a60f3958172b4d625b881bc5f94c9a6223

Authored by Scott Klum
1 parent f0665fee

Added BR_PACKAGE_THIRDPARTY flag

CMakeLists.txt
... ... @@ -193,6 +193,7 @@ if(${BR_INSTALL_BRPY})
193 193 endif()
194 194  
195 195 # Package
  196 +if (NOT BR_PACKAGE_THIRDPARTY)
196 197 set(CPACK_PACKAGE_EXECUTABLES "OpenBR" "OpenBR")
197 198 set(CPACK_CREATE_DESKTOP_LINKS "OpenBR")
198 199 if(CMAKE_HOST_WIN32)
... ... @@ -217,3 +218,4 @@ else()
217 218 endif()
218 219  
219 220 include(CPack)
  221 +endif()
... ...
app/CMakeLists.txt
1 1 # Build the command line interface
2 2 add_subdirectory(br)
3 3  
  4 +if (NOT BR_PACKAGE_THIRDPARTY)
4 5 # Build examples/tests
5 6 add_subdirectory(examples)
6 7  
... ... @@ -8,3 +9,4 @@ add_subdirectory(examples)
8 9 if(NOT ${BR_EMBEDDED})
9 10 add_subdirectory(br-gui)
10 11 endif()
  12 +endif()
... ...