Skip to content

Commit

Permalink
add a message to warn user that SOFA_ENABLE_LEGACY_HEADERS is not use…
Browse files Browse the repository at this point in the history
…d anymore
  • Loading branch information
fredroy committed Jul 11, 2024
1 parent 8277940 commit f25b6e9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,11 @@ endif()
### Ninja build pools
option(SOFA_NINJA_BUILD_POOLS "Activate the Ninja build pools feature, to limit the cores used by specific targets" OFF)

### Warn the user that the legacy option has been deleted and is useless now
if(DEFINED SOFA_ENABLE_LEGACY_HEADERS)
message(WARNING "SOFA_ENABLE_LEGACY_HEADERS cmake option has been deleted in v24.12 and is now meaningless.")
endif()

# Sofa.Config sets the environment (options, compiler flags, global variables)
sofa_add_subdirectory(library Sofa/framework/Config Sofa.Config ON)

Expand Down

0 comments on commit f25b6e9

Please sign in to comment.