From 1ec523b01845c58524973f0d5d8b075ebb61034c Mon Sep 17 00:00:00 2001 From: RipleyTom Date: Thu, 6 Jun 2024 10:16:14 +0200 Subject: [PATCH] Fix stb cmake build --- 3rdparty/CMakeLists.txt | 4 +--- 3rdparty/stblib/CMakeLists.txt | 2 ++ 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 3rdparty/stblib/CMakeLists.txt diff --git a/3rdparty/CMakeLists.txt b/3rdparty/CMakeLists.txt index d1a14ffabe..6c82cdfc81 100644 --- a/3rdparty/CMakeLists.txt +++ b/3rdparty/CMakeLists.txt @@ -127,9 +127,7 @@ endif() # stblib -add_library(3rdparty_stblib INTERFACE) -target_include_directories(3rdparty_stblib INTERFACE stblib/include) - +add_subdirectory(stblib) # DiscordRPC add_subdirectory(discord-rpc) diff --git a/3rdparty/stblib/CMakeLists.txt b/3rdparty/stblib/CMakeLists.txt new file mode 100644 index 0000000000..3426459edb --- /dev/null +++ b/3rdparty/stblib/CMakeLists.txt @@ -0,0 +1,2 @@ +add_library(3rdparty_stblib INTERFACE) +target_include_directories(3rdparty_stblib INTERFACE stb)