Add aliases with namespace for library build targets
This commit is contained in:
parent
2b31aa9d79
commit
7bfd9a1d4c
@ -6,6 +6,8 @@ else()
|
||||
add_library(DebugUtils SHARED ${SOURCES})
|
||||
endif()
|
||||
|
||||
add_library(RecastNavigation::DebugUtils ALIAS DebugUtils)
|
||||
|
||||
set(DebugUtils_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/Include")
|
||||
|
||||
target_include_directories(DebugUtils PUBLIC
|
||||
|
@ -6,6 +6,8 @@ else()
|
||||
add_library(Detour SHARED ${SOURCES})
|
||||
endif()
|
||||
|
||||
add_library(RecastNavigation::Detour ALIAS Detour)
|
||||
|
||||
set(Detour_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/Include")
|
||||
|
||||
target_include_directories(Detour PUBLIC
|
||||
|
@ -6,6 +6,8 @@ else ()
|
||||
add_library(DetourCrowd SHARED ${SOURCES})
|
||||
endif ()
|
||||
|
||||
add_library(RecastNavigation::DetourCrowd ALIAS DetourCrowd)
|
||||
|
||||
set(DetourCrowd_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/Include")
|
||||
|
||||
target_include_directories(DetourCrowd PUBLIC
|
||||
|
@ -6,6 +6,8 @@ else ()
|
||||
add_library(DetourTileCache SHARED ${SOURCES})
|
||||
endif ()
|
||||
|
||||
add_library(RecastNavigation::DetourTileCache ALIAS DetourTileCache)
|
||||
|
||||
set(DetourTileCache_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/Include")
|
||||
|
||||
target_include_directories(DetourTileCache PUBLIC
|
||||
|
@ -6,6 +6,8 @@ else ()
|
||||
add_library(Recast SHARED ${SOURCES})
|
||||
endif ()
|
||||
|
||||
add_library(RecastNavigation::Recast ALIAS Recast)
|
||||
|
||||
set(Recast_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/Include")
|
||||
|
||||
target_include_directories(Recast PUBLIC
|
||||
|
Loading…
x
Reference in New Issue
Block a user