Commit f8ea0d9d authored by Robert McGibbon's avatar Robert McGibbon
Browse files

Make it possible to disable building examples

parent 1f0e141b
......@@ -528,6 +528,10 @@ ADD_SUBDIRECTORY(docs-source)
IF(BUILD_TESTING)
ADD_SUBDIRECTORY(tests)
ENDIF(BUILD_TESTING)
ADD_SUBDIRECTORY(examples)
SET(OPENMM_BUILD_EXAMPLES ON CACHE BOOL "Build example executables")
IF(OPENMM_BUILD_EXAMPLES)
ADD_SUBDIRECTORY(examples)
ENDIF(OPENMM_BUILD_EXAMPLES)
ENDIF(NOT cmv EQUAL "2.4") # This whole file...
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment