Skip to content

Commit

Permalink
attempt to fix compling on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
daizhirui committed Sep 30, 2023
1 parent d64a8cf commit 36e02a0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,5 @@
/build
/build-*
/doc/doxygen
/cmake-build-*
.idea
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,11 @@ add_subdirectory(include/fcl)

set(PKG_DESC "Flexible Collision Library")

set(CMAKE_CXX_STANDARD 17)
if (MSVC)
set(CMAKE_CXX_STANDARD 14)
else()
set(CMAKE_CXX_STANDARD 17)
endif()

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

Expand Down

0 comments on commit 36e02a0

Please sign in to comment.