cmake: Don't require test projects with minimal distribution (issue #2169)
This commit is contained in:
parent
85d041c0e2
commit
b14167ad04
|
@ -199,10 +199,12 @@ add_subdirectory(${CEF_LIBCEF_DLL_WRAPPER_PATH} libcef_dll_wrapper)
|
||||||
# Include application targets.
|
# Include application targets.
|
||||||
# Comes from the <target>/CMakeLists.txt file in the current directory.
|
# Comes from the <target>/CMakeLists.txt file in the current directory.
|
||||||
# TODO: Change these lines to match your project target when you copy this file.
|
# TODO: Change these lines to match your project target when you copy this file.
|
||||||
|
if(EXISTS tests)
|
||||||
add_subdirectory(tests/cefclient)
|
add_subdirectory(tests/cefclient)
|
||||||
add_subdirectory(tests/cefsimple)
|
add_subdirectory(tests/cefsimple)
|
||||||
add_subdirectory(tests/gtest)
|
add_subdirectory(tests/gtest)
|
||||||
add_subdirectory(tests/ceftests)
|
add_subdirectory(tests/ceftests)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Display configuration settings.
|
# Display configuration settings.
|
||||||
PRINT_CEF_CONFIG()
|
PRINT_CEF_CONFIG()
|
||||||
|
|
Loading…
Reference in New Issue