From f02e7b54b308ec68f5728ca456ee628f0c93406d Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Wed, 27 Dec 2017 15:50:38 -0500 Subject: [PATCH] cmake: Fix detection of tests folder --- CMakeLists.txt.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)