add regression test for #2281

This commit is contained in:
Niels Lohmann 2020-07-22 12:23:58 +02:00
parent a7c4c84d68
commit 4d63252c6c
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69

View file

@ -2,6 +2,7 @@ add_test(NAME cmake_target_include_directories_configure
COMMAND ${CMAKE_COMMAND} COMMAND ${CMAKE_COMMAND}
-G "${CMAKE_GENERATOR}" -G "${CMAKE_GENERATOR}"
-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
-DCMAKE_BUILD_TYPE=Debug
-Dnlohmann_json_source=${PROJECT_SOURCE_DIR} -Dnlohmann_json_source=${PROJECT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/project ${CMAKE_CURRENT_SOURCE_DIR}/project
) )