mirror of
https://github.com/nlohmann/json
synced 2024-11-10 14:30:08 +00:00
test/cmake_import: Pass the generator platform required by MSVC 2019
This commit is contained in:
parent
7a521150aa
commit
5541a2bd25
@ -1,6 +1,7 @@
|
|||||||
add_test(NAME cmake_import_configure
|
add_test(NAME cmake_import_configure
|
||||||
COMMAND ${CMAKE_COMMAND}
|
COMMAND ${CMAKE_COMMAND}
|
||||||
-G "${CMAKE_GENERATOR}"
|
-G "${CMAKE_GENERATOR}"
|
||||||
|
-A "${CMAKE_GENERATOR_PLATFORM}"
|
||||||
-Dnlohmann_json_DIR=${PROJECT_BINARY_DIR}
|
-Dnlohmann_json_DIR=${PROJECT_BINARY_DIR}
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/project
|
${CMAKE_CURRENT_SOURCE_DIR}/project
|
||||||
)
|
)
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
add_test(NAME cmake_import_minver_configure
|
add_test(NAME cmake_import_minver_configure
|
||||||
COMMAND ${CMAKE_COMMAND}
|
COMMAND ${CMAKE_COMMAND}
|
||||||
-G "${CMAKE_GENERATOR}"
|
-G "${CMAKE_GENERATOR}"
|
||||||
|
-A "${CMAKE_GENERATOR_PLATFORM}"
|
||||||
-Dnlohmann_json_DIR=${PROJECT_BINARY_DIR}
|
-Dnlohmann_json_DIR=${PROJECT_BINARY_DIR}
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/project
|
${CMAKE_CURRENT_SOURCE_DIR}/project
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user