Skip to content

Commit

Permalink
FIX Windows compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
bakpaul authored Mar 25, 2024
1 parent 6ccb564 commit af635bc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
cmake_minimum_required(VERSION 3.22)
project(SofaIGTLink VERSION 1.0)
set(CMAKE_CXX_STANDARD 17)
add_compile_options(-Wall -Wextra -Wpedantic)

if(CMAKE_COMPILER_IS_GNUCXX)
add_compile_options(-Wall -Wextra -Wpedantic)
endif(CMAKE_COMPILER_IS_GNUCXX)

# SOFA packages containing our dependencies
find_package(Sofa.Framework REQUIRED) # Needed to use SofaCore, SofaHelper and SofaDefaultType
Expand Down

0 comments on commit af635bc

Please sign in to comment.