Skip to content
Snippets Groups Projects
Commit a813efdf authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

No commit message

No commit message
parent 6914b94c
No related branches found
No related tags found
No related merge requests found
...@@ -556,13 +556,15 @@ endif(ENABLE_ONELAB2) ...@@ -556,13 +556,15 @@ endif(ENABLE_ONELAB2)
if(ENABLE_ONELAB) if(ENABLE_ONELAB)
set_config_option(HAVE_ONELAB "ONELAB") set_config_option(HAVE_ONELAB "ONELAB")
if(ENABLE_ONELAB_METAMODEL) if(EXISTS contrib/onelab)
add_subdirectory(contrib/onelab) if(ENABLE_ONELAB_METAMODEL)
include_directories(contrib/onelab) add_subdirectory(contrib/onelab)
set_config_option(HAVE_ONELAB_METAMODEL "ONELABMetamodel") include_directories(contrib/onelab)
endif(ENABLE_ONELAB_METAMODEL) set_config_option(HAVE_ONELAB_METAMODEL "ONELABMetamodel")
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/contrib/onelab/python/onelab.py endif(ENABLE_ONELAB_METAMODEL)
DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/contrib/onelab/python/onelab.py
DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
endif(EXISTS contrib/onelab)
endif(ENABLE_ONELAB) endif(ENABLE_ONELAB)
if(ENABLE_BUILD_IOS) if(ENABLE_BUILD_IOS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment