mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 19:55:58 +08:00
Try to fix linking of OCCT on Win
This commit is contained in:
parent
3f69643516
commit
3f4cdbe41f
4
deps/OCCT/OCCT.cmake
vendored
4
deps/OCCT/OCCT.cmake
vendored
@ -20,3 +20,7 @@ prusaslicer_add_cmake_project(OCCT
|
||||
-DBUILD_MODULE_ModelingData=OFF
|
||||
-DBUILD_MODULE_Visualization=OFF
|
||||
)
|
||||
|
||||
if (MSVC)
|
||||
add_debug_dep(dep_OCCT)
|
||||
endif ()
|
||||
|
@ -50,6 +50,8 @@ set(OCCT_LIBS
|
||||
TKernel
|
||||
)
|
||||
|
||||
slic3r_remap_configs("${OCCT_LIBS}" RelWithDebInfo Release)
|
||||
|
||||
target_include_directories(OCCTWrapper PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
|
||||
target_include_directories(OCCTWrapper PUBLIC ${OpenCASCADE_INCLUDE_DIR})
|
||||
target_link_libraries(OCCTWrapper ${OCCT_LIBS})
|
||||
|
Loading…
x
Reference in New Issue
Block a user