diff --git a/CMakeLists.txt b/CMakeLists.txt index 0deea75..14df738 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -193,6 +193,7 @@ if(${BR_INSTALL_BRPY}) endif() # Package +if (NOT BR_PACKAGE_THIRDPARTY) set(CPACK_PACKAGE_EXECUTABLES "OpenBR" "OpenBR") set(CPACK_CREATE_DESKTOP_LINKS "OpenBR") if(CMAKE_HOST_WIN32) @@ -217,3 +218,4 @@ else() endif() include(CPack) +endif() diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index 54da62b..8230427 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -1,6 +1,7 @@ # Build the command line interface add_subdirectory(br) +if (NOT BR_PACKAGE_THIRDPARTY) # Build examples/tests add_subdirectory(examples) @@ -8,3 +9,4 @@ add_subdirectory(examples) if(NOT ${BR_EMBEDDED}) add_subdirectory(br-gui) endif() +endif()