Add dependencies between libraries to allow linker to resolve symbols

when build dynamic libraries
This commit is contained in:
elsid 2018-10-31 22:38:03 +03:00 committed by Jakob Botsch Nielsen
parent 56dbf4c482
commit 658b32784f
3 changed files with 13 additions and 0 deletions

View File

@ -11,6 +11,11 @@ else()
add_library(DebugUtils SHARED ${SOURCES})
endif()
target_link_libraries(DebugUtils
Recast
Detour
)
set_target_properties(DebugUtils PROPERTIES
SOVERSION ${SOVERSION}
VERSION ${VERSION}

View File

@ -9,6 +9,10 @@ else ()
add_library(DetourCrowd SHARED ${SOURCES})
endif ()
target_link_libraries(DetourCrowd
Detour
)
set_target_properties(DetourCrowd PROPERTIES
SOVERSION ${SOVERSION}
VERSION ${VERSION}

View File

@ -9,6 +9,10 @@ else ()
add_library(DetourTileCache SHARED ${SOURCES})
endif ()
target_link_libraries(DetourTileCache
Detour
)
set_target_properties(DetourTileCache PROPERTIES
SOVERSION ${SOVERSION}
VERSION ${VERSION}