Skip to content

Commit cbe6c87

Browse files
authored
Merge pull request #154 from gruenich/revert/make-use-of-enable_examples
[cmake] Revert "make use of "enable_examples" in CMakeLists.txt"
2 parents 367fd39 + daa3861 commit cbe6c87

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

CMakeLists.txt

+3-5
Original file line numberDiff line numberDiff line change
@@ -255,15 +255,13 @@ if(enable_tests)
255255
add_subdirectory(TESTING)
256256
endif()
257257

258-
if (enable_examples)
259-
add_custom_target(examples)
260-
add_subdirectory(EXAMPLE)
261-
endif()
262-
258+
add_custom_target(examples)
263259
if (enable_fortran)
264260
add_subdirectory(FORTRAN)
265261
endif()
266262

263+
add_subdirectory(EXAMPLE)
264+
267265
if (enable_doc)
268266
add_subdirectory(DOC)
269267
endif()

0 commit comments

Comments
 (0)