Add dependencies between libraries to allow linker to resolve symbols
when build dynamic libraries
This commit is contained in:
parent
56dbf4c482
commit
658b32784f
@ -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}
|
||||
|
@ -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}
|
||||
|
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user