Skip to content

Commit

Permalink
Add headers to build so programs that can parse and display that will…
Browse files Browse the repository at this point in the history
… do so

Signed-off-by: Kimball Thurston <[email protected]>
  • Loading branch information
kdt3rd committed Aug 10, 2019
1 parent 74d8b38 commit ec768ca
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions IlmBase/config/LibraryDefine.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,14 @@ function(ILMBASE_DEFINE_LIBRARY libname)

if(use_objlib)
set(objlib ${libname}_Object)
add_library(${objlib} OBJECT ${ILMBASE_CURLIB_SOURCES})
add_library(${objlib} OBJECT
${ILMBASE_CURLIB_HEADERS}
${ILMBASE_CURLIB_SOURCES})
else()
set(objlib ${libname})
add_library(${objlib} ${ILMBASE_CURLIB_SOURCES})
add_library(${objlib}
${ILMBASE_CURLIB_HEADERS}
${ILMBASE_CURLIB_SOURCES})
endif()

target_compile_features(${objlib} PUBLIC cxx_std_${OPENEXR_CXX_STANDARD})
Expand Down

0 comments on commit ec768ca

Please sign in to comment.