mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-01 05:34:31 +00:00
Export symbols for openmw binary under Clang (#8039)
This commit is contained in:
parent
efbef1ec96
commit
5938ba528f
1 changed files with 6 additions and 0 deletions
|
|
@ -138,6 +138,12 @@ if(BUILD_OPENMW)
|
|||
endif()
|
||||
|
||||
target_link_libraries(openmw openmw-lib)
|
||||
|
||||
# Workaround necessary to ensure osgAnimation::MatrixLinearSampler dynamic casts work under Clang
|
||||
# NOTE: it's unclear whether the broken behavior is spec-compliant
|
||||
if (CMAKE_CXX_COMPILER_ID STREQUAL Clang)
|
||||
set_target_properties(openmw PROPERTIES ENABLE_EXPORTS ON)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Sound stuff - here so CMake doesn't stupidly recompile EVERYTHING
|
||||
|
|
|
|||
Loading…
Reference in a new issue