Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: facebookresearch#2899

Reviewed By: mlomeli1

Differential Revision: D46521588

Pulled By: algoriddle

fbshipit-source-id: 6ac4b9d7590329317455d35256cab9dc820dfccf
  • Loading branch information
algoriddle authored and facebook-github-bot committed Jun 7, 2023
1 parent 9c88422 commit 451f6cd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,7 @@ project(faiss
LANGUAGES ${FAISS_LANGUAGES})
include(GNUInstallDirs)

if(FAISS_ENABLE_RAFT)
set(CMAKE_CXX_STANDARD 17)
else()
set(CMAKE_CXX_STANDARD 11)
endif()

list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")

Expand Down
2 changes: 1 addition & 1 deletion faiss/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ project(pyfaiss
HOMEPAGE_URL "https://github.com/facebookresearch/faiss"
LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD 17)

find_package(SWIG REQUIRED COMPONENTS python)
include(${SWIG_USE_FILE})
Expand Down

0 comments on commit 451f6cd

Please sign in to comment.