+ simplify dependencies in CMakeLists.txt files

This commit is contained in:
wmayer
2015-07-17 12:18:44 +02:00
parent 74e397c869
commit 1b58ec8bb7
3 changed files with 15 additions and 38 deletions

View File

@@ -20,20 +20,12 @@ include_directories(
)
link_directories(${OCC_LIBRARY_DIR})
if(MSVC)
set(Path_LIBS
Robot
${QT_QTCORE_LIBRARY}
FreeCADApp
)
else(MSVC)
set(Path_LIBS
Robot
Part
${QT_QTCORE_LIBRARY}
FreeCADApp
)
endif(MSVC)
set(Path_LIBS
Robot
Part
${QT_QTCORE_LIBRARY}
FreeCADApp
)
generate_from_xml(CommandPy)
generate_from_xml(PathPy)