diff --git a/ortools/bop/CMakeLists.txt b/ortools/bop/CMakeLists.txt index 221e78f64c..e736db7f6d 100644 --- a/ortools/bop/CMakeLists.txt +++ b/ortools/bop/CMakeLists.txt @@ -12,6 +12,7 @@ # limitations under the License. file(GLOB _SRCS "*.h" "*.cc") +list(FILTER _SRCS EXCLUDE REGEX "/.*_test.cc") set(NAME ${PROJECT_NAME}_bop) # Will be merge in libortools.so