File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,14 +14,14 @@ IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
1414 function (add_quickstart_test TEST_NAME SOURCE_FILE )
1515 # Second argument is C++ standard name
1616 if (MSVC )
17- if (${ ARGV2} )
17+ if (ARGV2)
1818 set (QUICKSTART_FLAGS /std:${ARGV2} )
1919 else ()
2020 set (QUICKSTART_FLAGS /WX)
2121 endif ()
2222 set (QUICKSTART_INCLUDE /I${PROJECT_SOURCE_DIR } /include /I${PROJECT_SOURCE_DIR } /src ${PROJECT_SOURCE_DIR } /src/simdjson.cpp)
2323 else ()
24- if (${ ARGV2} )
24+ if (ARGV2)
2525 set (QUICKSTART_FLAGS -Werror -std=${ARGV2} )
2626 else ()
2727 set (QUICKSTART_FLAGS -Werror)
@@ -30,7 +30,7 @@ IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
3030 endif ()
3131
3232 # Third argument tells whether to compile with -fno-exceptions
33- if (${ ARGV3} )
33+ if (ARGV3)
3434 if (NOT MSVC )
3535 set (QUICKSTART_FLAGS ${QUICKSTART_FLAGS} -fno-exceptions)
3636 endif ()
You can’t perform that action at this time.
0 commit comments