diff --git a/CMakeLists.txt b/CMakeLists.txt index 1163249..87afd6e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -123,7 +123,8 @@ if(LSQPACK_TESTS) add_subdirectory(test) endif() -if(LSQPACK_BIN) +# The executables are used within the test suite as well. +if(LSQPACK_BIN OR LSQPACK_TESTS) add_subdirectory(bin) endif()