Skip to content

Commit

Permalink
Tell CMake the c++ standard is required
Browse files Browse the repository at this point in the history
  • Loading branch information
nightlark authored Jan 31, 2024
1 parent 49a4f68 commit 36fe827
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ if(NOT WIN_USE_PREBUILT)
#URL "https://github.com/swig/swig/archive/master.tar.gz"
CMAKE_CACHE_ARGS
-DBUILD_TESTING:BOOL=OFF
-DCMAKE_CXX_STANDARD_REQUIRED:BOOL=ON
-DCMAKE_CXX_STANDARD:STRING=11
-DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_INSTALL_PREFIX}
"-DCMAKE_C_FLAGS:STRING=${_swig_build_flags}"
Expand Down

0 comments on commit 36fe827

Please sign in to comment.