Skip to content
Snippets Groups Projects
Commit f5ef6a74 authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

CMake : add gmsh_dynamic target when compiled without fltk

parent 811e00ec
No related branches found
No related tags found
No related merge requests found
......@@ -940,6 +940,8 @@ elseif(HAVE_QT)
add_executable(gmsh WIN32 Qt/Main.cpp ${GMSH_SRC} ${GMSH_MOC_SRC})
else(HAVE_FLTK)
add_executable(gmsh Common/Main.cpp ${GMSH_SRC})
add_executable(gmsh_dynamic EXCLUDE_FROM_ALL Common/Main.cpp)
target_link_libraries(gmsh_dynamic shared)
endif(HAVE_FLTK)
target_link_libraries(gmsh ${LINK_LIBRARIES})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment