diff --git a/CMakeLists.txt b/CMakeLists.txt index f7a095b0..fac379b4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -594,7 +594,7 @@ if (NOT CROSSTOOLS) list(APPEND PIP_LIBS_TARGETS pip_concurrent) # Enable build tests for concurrent module - if(CONCURRENT_TESTS) + if(PIP_CONCURRENT_TEST) add_executable(pip_concurrent_test ${CPP_CONCURRENT_TEST}) target_link_libraries(pip_concurrent_test gtest_main gmock_main pip_concurrent) add_test(NAME pip_concurrent_test COMMAND tests)