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_ModelingData=OFF
|
||||||
-DBUILD_MODULE_Visualization=OFF
|
-DBUILD_MODULE_Visualization=OFF
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if (MSVC)
|
||||||
|
add_debug_dep(dep_OCCT)
|
||||||
|
endif ()
|
||||||
|
@ -50,6 +50,8 @@ set(OCCT_LIBS
|
|||||||
TKernel
|
TKernel
|
||||||
)
|
)
|
||||||
|
|
||||||
|
slic3r_remap_configs("${OCCT_LIBS}" RelWithDebInfo Release)
|
||||||
|
|
||||||
target_include_directories(OCCTWrapper PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
|
target_include_directories(OCCTWrapper PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
target_include_directories(OCCTWrapper PUBLIC ${OpenCASCADE_INCLUDE_DIR})
|
target_include_directories(OCCTWrapper PUBLIC ${OpenCASCADE_INCLUDE_DIR})
|
||||||
target_link_libraries(OCCTWrapper ${OCCT_LIBS})
|
target_link_libraries(OCCTWrapper ${OCCT_LIBS})
|
||||||
|
Loading…
Reference in New Issue
Block a user