mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-19 09:27:22 -04:00
Merge branch 'clangcast' into 'master'
Export symbols for openmw binary under Clang (#8039) Closes #8039 See merge request OpenMW/openmw!4722
This commit is contained in:
commit
a524b3c9b0
@ -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…
x
Reference in New Issue
Block a user