1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-30 01:45:38 +00:00

Set components property after it is defined

This commit is contained in:
elsid 2024-02-22 11:15:39 +01:00
parent 35f547ad7c
commit 38990b1fd2
No known key found for this signature in database
GPG key ID: 4DE04C198CBA7625

View file

@ -526,16 +526,16 @@ if (USE_QT)
QT_WRAP_UI(ESM_UI_HDR ${ESM_UI})
endif()
if (ANDROID)
set_property(TARGET components PROPERTY POSTION_INDEPENDENT_CODE ON)
endif()
include_directories(${BULLET_INCLUDE_DIRS} ${CMAKE_CURRENT_BINARY_DIR})
find_package(SQLite3 REQUIRED)
add_library(components STATIC ${COMPONENT_FILES})
if (ANDROID)
set_property(TARGET components PROPERTY POSITION_INDEPENDENT_CODE ON)
endif()
target_link_libraries(components
${COLLADA_DOM_LIBRARIES}