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

add_definitions(-Wno-unknown-pragmas) for OCC on cygwin

parent bc4549ab
No related branches found
No related tags found
No related merge requests found
...@@ -1117,6 +1117,7 @@ if(ENABLE_OCC) ...@@ -1117,6 +1117,7 @@ if(ENABLE_OCC)
endif(HAVE_64BIT_SIZE_T) endif(HAVE_64BIT_SIZE_T)
if(CYGWIN) if(CYGWIN)
list(APPEND EXTERNAL_LIBRARIES "winspool") list(APPEND EXTERNAL_LIBRARIES "winspool")
add_definitions(-Wno-unknown-pragmas)
elseif(MSVC) elseif(MSVC)
add_definitions(-DWNT) add_definitions(-DWNT)
endif(CYGWIN) endif(CYGWIN)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment