Skip to content
This repository was archived by the owner on Jul 15, 2023. It is now read-only.
This repository was archived by the owner on Jul 15, 2023. It is now read-only.

CMakeLists.txt misses includes #91

@bfloch

Description

@bfloch

To be able to build I needed to include the include sub directory, as the src does not contain the headers.
Also partially ILMBASE headers are included with an OpenEXR/ prefix and partially without.
I guess the proper fix would be to always prefix includes with OpenEXR/ but this patch does fix it from the CMake side.

In case you prefer a pull request let me know.

--- /mnt/studio/toolbox/rez/payload/field3d/Field3D-1.7.1/CMakeLists.txt    2016-02-16 18:32:23.000000000 -0500
+++ /mnt/studio/toolbox/rez/payload/field3d/Field3D-1.7.1/CMakeLists.txt.patched    2016-05-04 11:27:32.873606565 -0400
@@ -63,8 +63,10 @@
 # includes
 INCLUDE_DIRECTORIES ( . )
 INCLUDE_DIRECTORIES ( src )
+INCLUDE_DIRECTORIES ( include )
 INCLUDE_DIRECTORIES ( export )
 INCLUDE_DIRECTORIES ( ${ILMBASE_INCLUDE_DIRS} )
+INCLUDE_DIRECTORIES ( ${ILMBASE_INCLUDE_DIRS}/OpenEXR )
 INCLUDE_DIRECTORIES ( ${HDF5_INCLUDE_DIRS} )
 INCLUDE_DIRECTORIES ( ${Boost_INCLUDE_DIR} )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions