Skip to content

Commit a696435

Browse files
More windows accommodation
1 parent 3aa2d31 commit a696435

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,13 @@ add_subdirectory(include/fcl)
342342

343343
set(PKG_DESC "Flexible Collision Library")
344344

345+
if(WIN32)
346+
# It's not clear what is necessary to make C++17 and eigen play together nicely
347+
# on windows. TODO: FIgure this out.
348+
set(CMAKE_CXX_STANDARD 14)
349+
else()
345350
set(CMAKE_CXX_STANDARD 17)
351+
endif()
346352

347353
configure_file(fcl.pc.in fcl.pc @ONLY)
348354

0 commit comments

Comments
 (0)