Skip to content

Commit

Permalink
build: do not override externally set VW_CXX_STANDARD (VowpalWabbit#4455
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jackgerrits authored Jan 13, 2023
1 parent d66d2f7 commit cbbd1db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake/VowpalWabbitUtils.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ include(CMakeParseArguments)
include(GNUInstallDirs)
include(VWFlags)
include(DetectCXXStandard)
set(VW_CXX_STANDARD 11)
if(NOT VW_CXX_STANDARD)
set(VW_CXX_STANDARD 11)
endif()
if(USE_LATEST_STD)
DetectCXXStandard(VW_CXX_STANDARD)
endif()
Expand Down

0 comments on commit cbbd1db

Please sign in to comment.