fix some target folders to respect parent cmake

This commit is contained in:
Diego Mateos
2025-11-27 14:21:01 +01:00
committed by Thomas Krijnen
parent c828c1b08d
commit 7221e72cfa
5 changed files with 26 additions and 6 deletions
@@ -12,8 +12,12 @@ foreach(schema ${SCHEMA_VERSIONS})
target_link_libraries(Serializers_ifc${schema} IfcGeom ${OPENCASCADE_LIBRARIES} ${HDF5_LIBRARIES})
endif()
install(TARGETS Serializers_ifc${schema})
install(TARGETS Serializers_ifc${schema}
ARCHIVE DESTINATION ${LIBDIR}
RUNTIME DESTINATION ${BINDIR}
LIBRARY DESTINATION ${LIBDIR}
)
endforeach()
set(SERIALIZER_SCHEMA_LIBRARIES ${SERIALIZER_SCHEMA_LIBRARIES} PARENT_SCOPE)
set(SERIALIZER_SCHEMA_LIBRARIES ${SERIALIZER_SCHEMA_LIBRARIES} PARENT_SCOPE)