xiaoyeli / superlu

Supernodal sparse direct solver. https://portal.nersc.gov/project/sparse/superlu/
Other
280 stars 96 forks source link

[cmake] Revert "make use of "enable_examples" in CMakeLists.txt" #154

Closed gruenich closed 2 months ago

gruenich commented 2 months ago

This reverts parts of commit 367fd39713dc8efe1edea95b5bafb4863b9b6d0b.

The use of enable_examples is in EXAMPLES/CMakeLists.txt. The advantage of the solution is that even with disabled enable_examples the examples can be manually built.

gruenich commented 2 months ago

@xiaoyeli Your last change was a regression, the behavior is what you expect (or even better). If you need more detailed explanation, please let me know.

xiaoyeli commented 2 months ago

That's a good point. Thanks!