Skip to content

Commit

Permalink
Merge branch 'fix/cmake' into 'master'
Browse files Browse the repository at this point in the history
chore(CMakeLists.txt): add flag to exclude SFCGAL system libray from build

See merge request sfcgal/SFCGAL!307
  • Loading branch information
lbartoletti committed Apr 25, 2024
2 parents c045bdc + 9adf632 commit b112b97
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ project( SFCGAL )
set( CMAKE_DEBUG_POSTFIX "d" )
set(CMAKE_CXX_STANDARD 17)

# ignore system installed SFCGAL to avoid conflicts during build/edit
list(APPEND CMAKE_IGNORE_PREFIX_PATH "/usr/include/SFCGAL")
list(APPEND CMAKE_IGNORE_PREFIX_PATH "/usr/local/include/SFCGAL")

#
# Cmake policies
#
Expand Down

0 comments on commit b112b97

Please sign in to comment.