From 2b5c2ffd6087c9ca79f2fc19b323c27f905b33a2 Mon Sep 17 00:00:00 2001 From: jriegel Date: Sun, 27 Apr 2014 16:22:35 +0200 Subject: [PATCH] fix #1348 --- src/Mod/Assembly/App/CMakeLists.txt | 2 ++ src/Mod/Assembly/Gui/CMakeLists.txt | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/Mod/Assembly/App/CMakeLists.txt b/src/Mod/Assembly/App/CMakeLists.txt index 5300ae8a81..9ccbdec160 100644 --- a/src/Mod/Assembly/App/CMakeLists.txt +++ b/src/Mod/Assembly/App/CMakeLists.txt @@ -19,6 +19,8 @@ include_directories( ) +link_directories(${OCC_LIBRARY_DIR}) + set(Assembly_LIBS ${ODE_LIBRARIES} ${OCC_LIBRARIES} diff --git a/src/Mod/Assembly/Gui/CMakeLists.txt b/src/Mod/Assembly/Gui/CMakeLists.txt index 19ce38bfb1..757d1245b2 100644 --- a/src/Mod/Assembly/Gui/CMakeLists.txt +++ b/src/Mod/Assembly/Gui/CMakeLists.txt @@ -19,6 +19,8 @@ include_directories( ${EIGEN3_INCLUDE_DIR} ) +link_directories(${OCC_LIBRARY_DIR}) + set(AssemblyGui_LIBS #${ODE_LIBRARIES} Assembly