diff --git a/CMakeLists.txt.in b/CMakeLists.txt.in index 0b87db3c5..034ce56a0 100644 --- a/CMakeLists.txt.in +++ b/CMakeLists.txt.in @@ -199,7 +199,7 @@ add_subdirectory(${CEF_LIBCEF_DLL_WRAPPER_PATH} libcef_dll_wrapper) # Include application targets. # Comes from the /CMakeLists.txt file in the current directory. # TODO: Change these lines to match your project target when you copy this file. -if(EXISTS tests) +if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/tests") add_subdirectory(tests/cefclient) add_subdirectory(tests/cefsimple) add_subdirectory(tests/gtest)