Skip to content

Commit b0e4c39

Browse files
authored
Merge pull request #675 from Flogex/cxx-standard-cached
Allow overwriting C++ version
2 parents 5bebe00 + f1983b7 commit b0e4c39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
44
# Set extension name here
55
set(TARGET_NAME spatial)
66
set(EXTENSION_NAME ${TARGET_NAME}_extension)
7-
set(CMAKE_CXX_STANDARD 11)
7+
set(CMAKE_CXX_STANDARD 11 CACHE STRING "C++ standard")
88

99
if(EMSCRIPTEN)
1010
# _LINKED_LIBS influences only Wasm compilation it's unclear why this is

0 commit comments

Comments
 (0)