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

better OCE detection on Win32/64

parent 6bbde586
No related branches found
No related tags found
No related merge requests found
...@@ -727,7 +727,11 @@ endif(ENABLE_PETSC) ...@@ -727,7 +727,11 @@ endif(ENABLE_PETSC)
if(ENABLE_OCC) if(ENABLE_OCC)
if(WIN32 OR CYGWIN) if(WIN32 OR CYGWIN)
set(OCC_SYS_NAME win32) if(HAVE_64BIT_SIZE_T)
set(OCC_SYS_NAME win64)
else(HAVE_64BIT_SIZE_T)
set(OCC_SYS_NAME win32)
endif(HAVE_64BIT_SIZE_T)
else(WIN32 OR CYGWIN) else(WIN32 OR CYGWIN)
set(OCC_SYS_NAME ${CMAKE_SYSTEM_NAME}) set(OCC_SYS_NAME ${CMAKE_SYSTEM_NAME})
endif(WIN32 OR CYGWIN) endif(WIN32 OR CYGWIN)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment