Skip to content

Commit

Permalink
Install missing header files when compiling without object stream (#1294
Browse files Browse the repository at this point in the history
)

Fixes #1293
  • Loading branch information
jrouwe authored Oct 2, 2024
1 parent 25d3eaf commit 0a7d250
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions Jolt/Jolt.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,13 @@ set(JOLT_PHYSICS_SRC_FILES
${JOLT_PHYSICS_ROOT}/Math/Vec4.h
${JOLT_PHYSICS_ROOT}/Math/Vec4.inl
${JOLT_PHYSICS_ROOT}/Math/Vector.h
${JOLT_PHYSICS_ROOT}/ObjectStream/ObjectStream.h
${JOLT_PHYSICS_ROOT}/ObjectStream/SerializableAttribute.h
${JOLT_PHYSICS_ROOT}/ObjectStream/SerializableAttributeEnum.h
${JOLT_PHYSICS_ROOT}/ObjectStream/SerializableAttributeTyped.h
${JOLT_PHYSICS_ROOT}/ObjectStream/SerializableObject.cpp
${JOLT_PHYSICS_ROOT}/ObjectStream/SerializableObject.h
${JOLT_PHYSICS_ROOT}/ObjectStream/TypeDeclarations.h
${JOLT_PHYSICS_ROOT}/Physics/Body/AllowedDOFs.h
${JOLT_PHYSICS_ROOT}/Physics/Body/Body.cpp
${JOLT_PHYSICS_ROOT}/Physics/Body/Body.h
Expand Down Expand Up @@ -437,7 +442,6 @@ if (ENABLE_OBJECT_STREAM)
${JOLT_PHYSICS_SRC_FILES}
${JOLT_PHYSICS_ROOT}/ObjectStream/GetPrimitiveTypeOfType.h
${JOLT_PHYSICS_ROOT}/ObjectStream/ObjectStream.cpp
${JOLT_PHYSICS_ROOT}/ObjectStream/ObjectStream.h
${JOLT_PHYSICS_ROOT}/ObjectStream/ObjectStreamBinaryIn.cpp
${JOLT_PHYSICS_ROOT}/ObjectStream/ObjectStreamBinaryIn.h
${JOLT_PHYSICS_ROOT}/ObjectStream/ObjectStreamBinaryOut.cpp
Expand All @@ -451,11 +455,7 @@ if (ENABLE_OBJECT_STREAM)
${JOLT_PHYSICS_ROOT}/ObjectStream/ObjectStreamTextOut.cpp
${JOLT_PHYSICS_ROOT}/ObjectStream/ObjectStreamTextOut.h
${JOLT_PHYSICS_ROOT}/ObjectStream/ObjectStreamTypes.h
${JOLT_PHYSICS_ROOT}/ObjectStream/SerializableAttribute.h
${JOLT_PHYSICS_ROOT}/ObjectStream/SerializableAttributeEnum.h
${JOLT_PHYSICS_ROOT}/ObjectStream/SerializableAttributeTyped.h
${JOLT_PHYSICS_ROOT}/ObjectStream/TypeDeclarations.cpp
${JOLT_PHYSICS_ROOT}/ObjectStream/TypeDeclarations.h
)
endif()

Expand Down
4 changes: 2 additions & 2 deletions Jolt/ObjectStream/SerializableAttributeEnum.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

#pragma once

#ifdef JPH_OBJECT_STREAM

#include <Jolt/ObjectStream/SerializableAttribute.h>
#include <Jolt/ObjectStream/ObjectStream.h>

#ifdef JPH_OBJECT_STREAM

JPH_NAMESPACE_BEGIN

//////////////////////////////////////////////////////////////////////////////////////////
Expand Down
4 changes: 2 additions & 2 deletions Jolt/ObjectStream/SerializableAttributeTyped.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

#pragma once

#ifdef JPH_OBJECT_STREAM

#include <Jolt/ObjectStream/SerializableAttribute.h>
#include <Jolt/ObjectStream/GetPrimitiveTypeOfType.h>
#include <Jolt/ObjectStream/ObjectStream.h>

#ifdef JPH_OBJECT_STREAM

JPH_NAMESPACE_BEGIN

//////////////////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 0a7d250

Please sign in to comment.