odissey: fix out-of-source shapito build
@@ -10,7 +10,7 @@ macro(build_shapito)
)
else()
add_custom_command(
- OUTPUT ${PROJECT_BINARY_DIR}/third_party/shapito/shapito/libshapito{CMAKE_STATIC_LIBRARY_SUFFIX}
+ OUTPUT ${PROJECT_BINARY_DIR}/third_party/shapito/shapito/libshapito${CMAKE_STATIC_LIBRARY_SUFFIX}
COMMAND ${CMAKE_COMMAND} -E make_directory ${PROJECT_BINARY_DIR}/third_party/shapito
COMMAND ${CMAKE_COMMAND} -E copy_directory ${PROJECT_SOURCE_DIR}/third_party/shapito ${PROJECT_BINARY_DIR}/third_party/shapito
COMMAND cd ${PROJECT_BINARY_DIR}/third_party/shapito && ${CMAKE_COMMAND} -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} .
