CMP0050: make Part module aware of cmake policy

This commit is contained in:
wmayer
2018-08-20 16:54:23 +02:00
parent f7f143a2b9
commit 73e27458da
3 changed files with 70 additions and 73 deletions

View File

@@ -364,38 +364,10 @@ SET(Part_SRCS
FaceMakerBullseye.h
)
SET(Part_Scripts
Init.py
TestPartApp.py
MakeBottle.py
JoinFeatures.py
AttachmentEditor/__init__.py
AttachmentEditor/Commands.py
AttachmentEditor/FrozenClass.py
AttachmentEditor/TaskAttachmentEditor.py
AttachmentEditor/TaskAttachmentEditor.ui
BOPTools/__init__.py
BOPTools/GeneralFuseResult.py
BOPTools/JoinAPI.py
BOPTools/JoinFeatures.py
BOPTools/ShapeMerge.py
BOPTools/SplitAPI.py
BOPTools/SplitFeatures.py
BOPTools/Utils.py
CompoundTools/__init__.py
CompoundTools/_CommandCompoundFilter.py
CompoundTools/CompoundFilter.py
)
add_library(Part SHARED ${Part_SRCS})
target_link_libraries(Part ${Part_LIBS})
fc_target_copy_resource(Part
${CMAKE_SOURCE_DIR}/src/Mod/Part
${CMAKE_BINARY_DIR}/Mod/Part
${Part_Scripts})
SET_BIN_DIR(Part Part /Mod/Part)
SET_PYTHON_PREFIX_SUFFIX(Part)