Export TINYSPLINE_OUTPUT_DIRECTORY in CMakeLists.
@@ -1610,6 +1610,7 @@ Installation:
###############################################################################
get_directory_property(TINYSPLINE_HAS_PARENT PARENT_DIRECTORY)
if(TINYSPLINE_HAS_PARENT)
+ set(TINYSPLINE_OUTPUT_DIRECTORY ${TINYSPLINE_OUTPUT_DIRECTORY} PARENT_SCOPE)
set(TINYSPLINE_C_DEFINITIONS ${TINYSPLINE_C_DEFINITIONS} PARENT_SCOPE)
set(TINYSPLINE_CXX_DEFINITIONS ${TINYSPLINE_CXX_DEFINITIONS} PARENT_SCOPE)
set(TINYSPLINE_C_LINK_LIBRARIES ${TINYSPLINE_C_LINK_LIBRARIES} PARENT_SCOPE)
@@ -1620,6 +1621,7 @@ if(TINYSPLINE_HAS_PARENT)
set(TINYSPLINE_C_SOURCE_FILES ${TINYSPLINE_C_SOURCE_FILES} PARENT_SCOPE)
set(TINYSPLINE_CXX_SOURCE_FILES ${TINYSPLINE_CXX_SOURCE_FILES} PARENT_SCOPE)
else()
+ set(TINYSPLINE_OUTPUT_DIRECTORY ${TINYSPLINE_OUTPUT_DIRECTORY})
set(TINYSPLINE_C_DEFINITIONS ${TINYSPLINE_C_DEFINITIONS})
set(TINYSPLINE_CXX_DEFINITIONS ${TINYSPLINE_CXX_DEFINITIONS})
set(TINYSPLINE_C_LINK_LIBRARIES ${TINYSPLINE_C_LINK_LIBRARIES})
