mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-27 02:31:09 +00:00
cmake - fix WSOCK32 lib required for OCCT on Unix (ce7fdcc)
This commit is contained in:
@@ -46,7 +46,7 @@ if(NOT OCC_INCLUDE_DIR AND NOT OCC_LIBRARY_DIR)
|
|||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(OpenCASCADE_VERSION VERSION_LESS "7.9.0")
|
if(OpenCASCADE_VERSION VERSION_LESS "7.9.0" AND WIN32)
|
||||||
# Bug in OCCT cmake configs < 7.9.0 - missing linked library.
|
# Bug in OCCT cmake configs < 7.9.0 - missing linked library.
|
||||||
list(APPEND OpenCASCADE_LIBRARIES WSOCK32.lib)
|
list(APPEND OpenCASCADE_LIBRARIES WSOCK32.lib)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user