diff --git a/CMakeLists.txt b/CMakeLists.txt
index 81498d6729e30db324bc6e5652ac9c7840d7a12a..f145a3954c20a75ae4eb6872e1cdc654615dbcbc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -60,8 +60,8 @@ target_link_libraries(ale
                       nlohmann_json::nlohmann_json)
 
 # Optional build tests
-option (BUILD_TESTS "Build tests" ON)
-if(BUILD_TESTS)
+option (ALE_BUILD_TESTS "Build tests" ON)
+if(ALE_BUILD_TESTS)
     include(cmake/gtest.cmake)
     include(GoogleTest)
     include(CTest)