diff --git a/CMakeLists.txt b/CMakeLists.txt index c54ac8acf..00204bbd2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ project(${PROJECT_NAME} CXX) set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED YES) -option(BUILD_TESTS DEFAULT ON) +option(BUILD_FAKER_TESTS DEFAULT ON) if (MSVC) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /std:c++20 /permissive-") @@ -62,7 +62,7 @@ target_include_directories(${LIBRARY_NAME} "${CMAKE_CURRENT_LIST_DIR}/include" ) -if (BUILD_TESTS) +if (BUILD_FAKER_TESTS) add_subdirectory(externals/googletest) set(GTEST_INCLUDE_DIR "${CMAKE_SOURCE_DIR}/externals/googletest/googletest/include") diff --git a/README.md b/README.md index bc2d052fc..fe29f3442 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ C++ Faker is a modern C++20 open-source library for generating fake data for tes The library is heavily inspired by [Faker.js](https://github.com/faker-js/faker). -Dependencies: GTest for building library tests (can be disabled by setting CMake flag BUILD_TESTS=OFF) +Dependencies: GTest for building library tests (can be disabled by setting CMake flag BUILD_FAKER_TESTS=OFF) ## 🎯 Goal