CMP0050: make Path module aware of cmake policy
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user