Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
corneliusroemer committed Aug 12, 2024
1 parent 8a4d6cd commit e329215
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# nozlib: do not use zlib
# libcxx
#
# c++14: use C++14 standard (default is C++17)
# cpp14: use C++14 standard (default is C++17)

# CMAPLE: Integrate CMAPLE library
#---------------
Expand Down Expand Up @@ -260,7 +260,7 @@ elseif (CMAKE_CXX_COMPILER MATCHES "VISUAL STUDIO")
#it won't recognize the -std=c++17 parameter.
#Todo: don't hard-code this; figure out some way it can be passed in (though ideally, not the whole shebang).
include_directories("C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\Llvm\\lib\\clang\\10.0.0\\include")
elseif(IQTREE_FLAGS MATCHES "c++14")
elseif(IQTREE_FLAGS MATCHES "cpp14")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
Expand Down

0 comments on commit e329215

Please sign in to comment.