Minor changes to build system

This commit is contained in:
erikwijmans
2018-02-24 22:42:26 -05:00
parent afb3d42048
commit f0b92f7018
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -19,7 +19,6 @@ add_custom_command(OUTPUT "${CMAKE_CURRENT_SOURCE_DIR}/utils/_ext/pointnet2/_poi
DEPENDS ${wrapper_sources} DEPENDS ${wrapper_sources}
VERBATIM) VERBATIM)
add_custom_target(ext ALL add_custom_target(pointnet2_ext ALL
DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/utils/_ext/pointnet2/_pointnet2.so") DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/utils/_ext/pointnet2/_pointnet2.so")
set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${CMAKE_CURRENT_SOURCE_DIR}/utils/_ext")
+1 -1
View File
@@ -31,7 +31,7 @@ def angle_axis(angle: float, axis: np.ndarray):
+ (1.0 - cosval) * np.outer(u, u) + (1.0 - cosval) * np.outer(u, u)
) )
# yapf: enable # yapf: enable
return R return R.float()
class PointcloudScale(object): class PointcloudScale(object):