From ca86405b31916097dcb27ec8717aaf450835a6fe Mon Sep 17 00:00:00 2001 From: linianlin Date: Mon, 27 Apr 2026 13:18:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0CmakeLists.txt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/{CMakeList.txt => CMakeLists.txt} | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) rename tests/{CMakeList.txt => CMakeLists.txt} (87%) diff --git a/tests/CMakeList.txt b/tests/CMakeLists.txt similarity index 87% rename from tests/CMakeList.txt rename to tests/CMakeLists.txt index da91f04..1731c40 100644 --- a/tests/CMakeList.txt +++ b/tests/CMakeLists.txt @@ -13,8 +13,7 @@ set(gtest_force_shared_crt ON CACHE BOOL "" FORCE) FetchContent_MakeAvailable(googletest) set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD_REQUIRED ON) -include_directories(${CMAKE_SOURCE_DIR}/src) -include_directories(${CMAKE_SOURCE_DIR}/include) +include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../include) #include_directories(D:/workspace/googletest-demo/test_main) #add_executable(demo max.cpp main.cpp)