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

fix for mingw

parent 2ce62b2a
No related branches found
No related tags found
No related merge requests found
...@@ -888,12 +888,12 @@ target_link_libraries(gmsh ${LINK_LIBRARIES}) ...@@ -888,12 +888,12 @@ target_link_libraries(gmsh ${LINK_LIBRARIES})
# increase stack to 16Mb on Windows to avoid overflows in recursive # increase stack to 16Mb on Windows to avoid overflows in recursive
# tet classification for large 3D Delaunay grids # tet classification for large 3D Delaunay grids
if(CYGWIN) if(WIN32 AND NOT MSVC)
set_target_properties(gmsh PROPERTIES LINK_FLAGS set_target_properties(gmsh PROPERTIES LINK_FLAGS
"-Wl,--stack,16777216 ${CMAKE_CURRENT_SOURCE_DIR}/Fltk/Win32Icon.res -mwindows") "-Wl,--stack,16777216 ${CMAKE_CURRENT_SOURCE_DIR}/Fltk/Win32Icon.res -mwindows")
elseif(MSVC) elseif(MSVC)
set_target_properties(gmsh PROPERTIES LINK_FLAGS "/STACK:16777216") set_target_properties(gmsh PROPERTIES LINK_FLAGS "/STACK:16777216")
endif(CYGWIN) endif(WIN32 AND NOT MSVC)
find_program(BISON bison) find_program(BISON bison)
find_program(FLEX flex) find_program(FLEX flex)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment