Skip to content

Commit

Permalink
Backport HLMS exports for 2.3 (#326)
Browse files Browse the repository at this point in the history
Co-authored-by: Matias N. Goldberg <dark_sylinc@yahoo.com.ar>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
  • Loading branch information
mjcarroll and darksylinc authored Aug 17, 2022
1 parent 3cd46c0 commit 558115e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Components/Hlms/Pbs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ if( OGRE_BUILD_COMPONENT_PLANAR_REFLECTIONS )
ogre_add_component_include_dir( PlanarReflections )
endif()

add_definitions( -DOgreHlmsPbs_EXPORTS )

ogre_add_library(${OGRE_NEXT}HlmsPbs ${OGRE_COMP_LIB_TYPE} ${HEADER_FILES} ${SOURCE_FILES})
set_target_properties(${OGRE_NEXT}HlmsPbs PROPERTIES VERSION ${OGRE_SOVERSION} SOVERSION ${OGRE_SOVERSION})
target_link_libraries(${OGRE_NEXT}HlmsPbs ${OGRE_NEXT}Main)
Expand Down
2 changes: 2 additions & 0 deletions Components/Hlms/Unlit/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ file(
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../Common/include)

add_definitions( -DOgreHlmsUnlit_EXPORTS )

ogre_add_library(${OGRE_NEXT}HlmsUnlit ${OGRE_COMP_LIB_TYPE} ${HEADER_FILES} ${SOURCE_FILES})
set_target_properties(${OGRE_NEXT}HlmsUnlit PROPERTIES VERSION ${OGRE_SOVERSION} SOVERSION ${OGRE_SOVERSION})
target_link_libraries(${OGRE_NEXT}HlmsUnlit ${OGRE_NEXT}Main)
Expand Down

0 comments on commit 558115e

Please sign in to comment.