CMP0050: make Surface module aware of cmake policy

This commit is contained in:
wmayer
2018-08-20 14:56:30 +02:00
parent 8d4953ad8f
commit cd5ee548f6
3 changed files with 19 additions and 13 deletions

View File

@@ -37,12 +37,6 @@ link_directories(${OCC_LIBRARY_DIR})
add_library(Surface SHARED ${Surface_SRCS})
target_link_libraries(Surface ${Surface_LIBS})
fc_target_copy_resource(Surface
${CMAKE_SOURCE_DIR}/src/Mod/Surface
${CMAKE_BINARY_DIR}/Mod/Surface
Init.py)
SET_BIN_DIR(Surface Surface /Mod/Surface)
SET_PYTHON_PREFIX_SUFFIX(Surface)