diff options
author | Foe <Foereaper@users.noreply.github.com> | 2024-06-02 17:44:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-02 17:44:24 +0200 |
commit | 6a5fa255fe053796588684e3876f6047cf92a08f (patch) | |
tree | 83ce0139404243da25e6fd0f1f9b99bdf8ecbbf9 /src | |
parent | 14501c0d7af9ae06e3febcb7567407191249d821 (diff) |
Build: Allow efsw to be built independently of WITH_DYNAMIC_LINKING option (#30019)
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/server/game/CMakeLists.txt b/src/server/game/CMakeLists.txt index 53971feebfe..1beffa37c3c 100644 --- a/src/server/game/CMakeLists.txt +++ b/src/server/game/CMakeLists.txt @@ -51,10 +51,15 @@ target_include_directories(game target_link_libraries(game PRIVATE trinity-core-interface - efsw PUBLIC game-interface) +if(TARGET efsw) + target_link_libraries(game + PRIVATE + efsw) +endif() + set_target_properties(game PROPERTIES FOLDER |