File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -64,4 +64,7 @@ set( PerformanceBenchmarking_SRCS
6464 PerformanceBenchmarkingUtilities.cxx
6565 ${CMAKE_BINARY_DIR} /PerformanceBenchmarkingInformation.h)
6666
67+ if (MSVC )
68+ add_definitions (-D_CRT_SECURE_NO_WARNINGS)
69+ endif ()
6770itk_module_add_library(PerformanceBenchmarking ${PerformanceBenchmarking_SRCS} )
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ echo ${ITKPERFORMANCEBENCHMARK_AUX_JSON}
4545 */
4646static std::string getEnvJsonMap ()
4747{
48- char * auxEnvironmentJson = getenv ( " ITKPERFORMANCEBENCHMARK_AUX_JSON" );
48+ const char * auxEnvironmentJson = itksys::SystemTools::GetEnv ( " ITKPERFORMANCEBENCHMARK_AUX_JSON" );
4949 if ( auxEnvironmentJson != nullptr )
5050 {
5151 jsonxx::Object auxEnvironmentObject;
You can’t perform that action at this time.
0 commit comments