CMP0050: make Path module aware of cmake policy

This commit is contained in:
wmayer
2018-08-20 19:33:12 +02:00
parent d85309a76c
commit fc8984ae7c
3 changed files with 19 additions and 28 deletions

View File

@@ -113,18 +113,9 @@ SOURCE_GROUP("Module" FILES ${Mod_SRCS})
# SOURCE_GROUP("KDL" FILES ${KDL_SRCS} ${KDL_HPPS} ${UTIL_SRCS} ${UTIL_HPPS} )
#endif(WIN32)
SET(Path_Scripts
Init.py
)
add_library(Path SHARED ${Path_SRCS})
target_link_libraries(Path ${Path_LIBS})
fc_target_copy_resource(Path
${CMAKE_SOURCE_DIR}/src/Mod/Path
${CMAKE_BINARY_DIR}/Mod/Path
${Path_Scripts})
SET_BIN_DIR(Path Path /Mod/Path)
SET_PYTHON_PREFIX_SUFFIX(Path)