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

fix compile without onelab

parent 7189d62f
No related branches found
No related tags found
No related merge requests found
...@@ -26,12 +26,12 @@ set(SRC ...@@ -26,12 +26,12 @@ set(SRC
GamePad.cpp GamePad.cpp
) )
if(NOT ENABLE_ONELAB2) if(ENABLE_ONELAB AND NOT ENABLE_ONELAB2)
set(SRC set(SRC
${SRC} ${SRC}
gmshLocalNetworkClient.cpp gmshLocalNetworkClient.cpp
) )
endif(NOT ENABLE_ONELAB2) endif(ENABLE_ONELAB AND NOT ENABLE_ONELAB2)
file(GLOB HDR RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.h) file(GLOB HDR RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.h)
append_gmsh_src(Common "${SRC};${HDR}") append_gmsh_src(Common "${SRC};${HDR}")
...@@ -278,7 +278,9 @@ int GmshBatch() ...@@ -278,7 +278,9 @@ int GmshBatch()
} }
// launch solver (if requested) // launch solver (if requested)
#if defined(HAVE_ONELAB)
solver_batch_cb((void*)CTX::instance()->launchSolverAtStartup); solver_batch_cb((void*)CTX::instance()->launchSolverAtStartup);
#endif
time_t now; time_t now;
time(&now); time(&now);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment