Skip to content

Commit

Permalink
Merge pull request #154 from gruenich/revert/make-use-of-enable_examples
Browse files Browse the repository at this point in the history
[cmake] Revert "make use of "enable_examples" in CMakeLists.txt"
  • Loading branch information
xiaoyeli authored Sep 3, 2024
2 parents 367fd39 + daa3861 commit cbe6c87
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -255,15 +255,13 @@ if(enable_tests)
add_subdirectory(TESTING)
endif()

if (enable_examples)
add_custom_target(examples)
add_subdirectory(EXAMPLE)
endif()

add_custom_target(examples)
if (enable_fortran)
add_subdirectory(FORTRAN)
endif()

add_subdirectory(EXAMPLE)

if (enable_doc)
add_subdirectory(DOC)
endif()

0 comments on commit cbe6c87

Please sign in to comment.