We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1d519aa + 5a3035b commit deaca58Copy full SHA for deaca58
benchmark/checkperf.cmake
@@ -58,7 +58,9 @@ if (Git_FOUND)
58
# - second, cmake ..
59
add_custom_command(
60
OUTPUT ${SIMDJSON_CHECKPERF_DIR}/build/cmake_install.cmake # We make many things but this seems the most cross-platform one we can depend on
61
- COMMAND ${CMAKE_COMMAND} -DSIMDJSON_GOOGLE_BENCHMARKS=OFF -DSIMDJSON_COMPETITION=OFF -G ${CMAKE_GENERATOR} ..
+ COMMAND
62
+ ${CMAKE_COMMAND} -E env CXX=${CMAKE_CXX_COMPILER} CC=${CMAKE_C_COMPILER}
63
+ ${CMAKE_COMMAND} -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DSIMDJSON_GOOGLE_BENCHMARKS=OFF -DSIMDJSON_COMPETITION=OFF -G ${CMAKE_GENERATOR} ..
64
WORKING_DIRECTORY ${SIMDJSON_CHECKPERF_DIR}/build
65
DEPENDS ${SIMDJSON_CHECKPERF_DIR}/build/CMakeCache.txt
66
)
0 commit comments