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})
|
add_library(DebugUtils SHARED ${SOURCES})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
target_link_libraries(DebugUtils
|
||||||
|
Recast
|
||||||
|
Detour
|
||||||
|
)
|
||||||
|
|
||||||
set_target_properties(DebugUtils PROPERTIES
|
set_target_properties(DebugUtils PROPERTIES
|
||||||
SOVERSION ${SOVERSION}
|
SOVERSION ${SOVERSION}
|
||||||
VERSION ${VERSION}
|
VERSION ${VERSION}
|
||||||
|
@ -9,6 +9,10 @@ else ()
|
|||||||
add_library(DetourCrowd SHARED ${SOURCES})
|
add_library(DetourCrowd SHARED ${SOURCES})
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
target_link_libraries(DetourCrowd
|
||||||
|
Detour
|
||||||
|
)
|
||||||
|
|
||||||
set_target_properties(DetourCrowd PROPERTIES
|
set_target_properties(DetourCrowd PROPERTIES
|
||||||
SOVERSION ${SOVERSION}
|
SOVERSION ${SOVERSION}
|
||||||
VERSION ${VERSION}
|
VERSION ${VERSION}
|
||||||
|
@ -9,6 +9,10 @@ else ()
|
|||||||
add_library(DetourTileCache SHARED ${SOURCES})
|
add_library(DetourTileCache SHARED ${SOURCES})
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
target_link_libraries(DetourTileCache
|
||||||
|
Detour
|
||||||
|
)
|
||||||
|
|
||||||
set_target_properties(DetourTileCache PROPERTIES
|
set_target_properties(DetourTileCache PROPERTIES
|
||||||
SOVERSION ${SOVERSION}
|
SOVERSION ${SOVERSION}
|
||||||
VERSION ${VERSION}
|
VERSION ${VERSION}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user