Skip to content

Commit

Permalink
Dont duplicate target
Browse files Browse the repository at this point in the history
Signed-off-by: Gene Walters <[email protected]>
  • Loading branch information
AMZN-Gene committed Dec 18, 2023
1 parent b66c514 commit 1bc3e24
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,8 @@ else()
set(CMAKE_THREAD_PREFER_PTHREAD TRUE)
set(THREADS_PREFER_PTHREAD_FLAG TRUE)
find_package(Threads REQUIRED)
target_link_libraries(${TARGET_WITH_NAMESPACE} PRIVATE Threads::Threads)

target_link_libraries(${TARGET_WITH_NAMESPACE} INTERFACE ${AWSGAMELIFTSERVERSDK_LIBS})
target_link_libraries(${TARGET_WITH_NAMESPACE} INTERFACE Threads::Threads ${AWSGAMELIFTSERVERSDK_LIBS})
ly_add_dependencies(${TARGET_WITH_NAMESPACE} ${AWSGAMELIFTSERVERSDK_LIBS})
endif()

Expand Down

0 comments on commit 1bc3e24

Please sign in to comment.