Use fixed namespace for installed CMake targets.
@@ -752,7 +752,7 @@ install(TARGETS tinyspline EXPORT tinyspline
PUBLIC_HEADER DESTINATION ${TINYSPLINE_INSTALL_INCLUDE_DIR})
install(EXPORT tinyspline
DESTINATION "${TINYSPLINE_C_INSTALL_CMAKE_CONFIG_DIR}"
- NAMESPACE "${TINYSPLINE_C_LIBRARY_OUTPUT_NAME}::"
+ NAMESPACE "tinyspline::"
FILE "${TINYSPLINE_C_LIBRARY_OUTPUT_NAME}-targets.cmake")
configure_package_config_file(
"${CMAKE_CURRENT_SOURCE_DIR}/pkg/tinyspline-config.cmake.in"
@@ -813,7 +813,7 @@ if(TINYSPLINE_ENABLE_CXX)
PUBLIC_HEADER DESTINATION ${TINYSPLINE_INSTALL_INCLUDE_DIR})
install(EXPORT tinysplinecxx
DESTINATION "${TINYSPLINE_CXX_INSTALL_CMAKE_CONFIG_DIR}"
- NAMESPACE "${TINYSPLINE_CXX_LIBRARY_OUTPUT_NAME}::"
+ NAMESPACE "tinysplinecxx::"
FILE "${TINYSPLINE_CXX_LIBRARY_OUTPUT_NAME}-targets.cmake")
configure_package_config_file(
"${CMAKE_CURRENT_SOURCE_DIR}/pkg/tinysplinecxx-config.cmake.in"
