move cmake policy CMP0050 to new style

This commit is contained in:
wmayer
2018-08-19 13:59:42 +02:00
parent fc6e6a55ea
commit 3ffd435526
4 changed files with 1 additions and 16 deletions

View File

@@ -375,12 +375,6 @@ add_library(FemGui SHARED ${FemGui_SRCS})
target_link_libraries(FemGui ${FemGui_LIBS} ${VTK_LIBRARIES})
fc_target_copy_resource(FemGui
${CMAKE_SOURCE_DIR}/src/Mod/Fem
${CMAKE_BINARY_DIR}/Mod/Fem
)
SET(FemGuiIcon_SVG
Resources/icons/FemWorkbench.svg
)

View File

@@ -125,11 +125,6 @@ fc_target_copy_resource(Path
${CMAKE_BINARY_DIR}/Mod/Path
${Path_Scripts})
fc_target_copy_resource(Path
${CMAKE_SOURCE_DIR}/src/Mod/Path
${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/Path
${Path_Resources})
SET_BIN_DIR(Path Path /Mod/Path)
SET_PYTHON_PREFIX_SUFFIX(Path)