CMP0050: make Image module aware of cmake policy

This commit is contained in:
wmayer
2018-08-20 15:52:12 +02:00
parent 1bb8c43203
commit ff2a4978ef
3 changed files with 34 additions and 24 deletions

View File

@@ -33,11 +33,6 @@ add_library(Image SHARED ${Image_SRCS})
target_link_libraries(Image ${Image_LIBS})
fc_target_copy_resource(Image
${CMAKE_SOURCE_DIR}/src/Mod/Image
${CMAKE_BINARY_DIR}/Mod/Image
Init.py)
SET_BIN_DIR(Image Image /Mod/Image)
SET_PYTHON_PREFIX_SUFFIX(Image)