mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
fix non-gui build on Windows
This commit is contained in:
parent
5acb38eabd
commit
00d9583af3
@ -407,9 +407,9 @@ if (USE_OCC)
|
||||
endif()
|
||||
endif()
|
||||
message(STATUS "OCC DIRS ${OpenCASCADE_INCLUDE_DIR}")
|
||||
if(WIN32)
|
||||
if(WIN32 AND USE_GUI)
|
||||
target_link_libraries(nggui PRIVATE ${OCC_LIBRARIES})
|
||||
endif(WIN32)
|
||||
endif(WIN32 AND USE_GUI)
|
||||
endif (USE_OCC)
|
||||
|
||||
#######################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user