mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-24 03:40:34 +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()
|
||||||
endif()
|
endif()
|
||||||
message(STATUS "OCC DIRS ${OpenCASCADE_INCLUDE_DIR}")
|
message(STATUS "OCC DIRS ${OpenCASCADE_INCLUDE_DIR}")
|
||||||
if(WIN32)
|
if(WIN32 AND USE_GUI)
|
||||||
target_link_libraries(nggui PRIVATE ${OCC_LIBRARIES})
|
target_link_libraries(nggui PRIVATE ${OCC_LIBRARIES})
|
||||||
endif(WIN32)
|
endif(WIN32 AND USE_GUI)
|
||||||
endif (USE_OCC)
|
endif (USE_OCC)
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user