Skip to content

Commit

Permalink
Fix #3398 - Correctly swig the OpenStudioModelStraightComponent stuff…
Browse files Browse the repository at this point in the history
… for CSharp
  • Loading branch information
macumber committed Apr 9, 2019
1 parent af948aa commit 5566563
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion openstudiocore/src/model/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2080,7 +2080,7 @@ list(APPEND OpenStudioModelSwigs OpenStudioModelAvailabilityManager)
MAKE_SWIG_TARGET(OpenStudioModelPlantEquipmentOperationScheme model "${CMAKE_CURRENT_SOURCE_DIR}/ModelPlantEquipmentOperationScheme.i" "${${target_name}_swig_src}" ${swig_target_name} OpenStudioModelHVAC)
list(APPEND OpenStudioModelSwigs OpenStudioModelPlantEquipmentOperationScheme)

MAKE_SWIG_TARGET(OpenStudioModelStraightComponent model "${CMAKE_CURRENT_SOURCE_DIR}/ModelStraightComponent.i" "${${target_name}_swig_src}" ${swig_target_name} OpenStudioModelHVAC)
MAKE_SWIG_TARGET(OpenStudioModelStraightComponent model "${CMAKE_CURRENT_SOURCE_DIR}/ModelStraightComponent.i" "${${target_name}_swig_src}" ${swig_target_name} OpenStudioModelZoneHVAC)
list(APPEND OpenStudioModelSwigs OpenStudioModelStraightComponent)

MAKE_SWIG_TARGET(OpenStudioModelAirflow model "${CMAKE_CURRENT_SOURCE_DIR}/ModelAirflow.i" "${${target_name}_swig_src}" ${swig_target_name} OpenStudioModelHVAC)
Expand Down
1 change: 1 addition & 0 deletions openstudiocore/src/model/ModelStraightComponent.i
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
%import <model/ModelResources.i>
%import <model/ModelGeometry.i>
%import <model/ModelHVAC.i>
%import <model/ModelZoneHVAC.i>

#if defined SWIGCSHARP
#undef _csharp_module_name
Expand Down

0 comments on commit 5566563

Please sign in to comment.