remove unused thirdparty lib
This commit is contained in:
parent
7e5ebabe94
commit
b2e5ccba8c
@ -186,7 +186,6 @@ target_link_libraries(nf7
|
|||||||
imgui
|
imgui
|
||||||
imnodes
|
imnodes
|
||||||
implot
|
implot
|
||||||
linalg.h
|
|
||||||
luajit
|
luajit
|
||||||
magic_enum
|
magic_enum
|
||||||
miniaudio
|
miniaudio
|
||||||
|
24
thirdparty/CMakeLists.txt
vendored
24
thirdparty/CMakeLists.txt
vendored
@ -174,27 +174,6 @@ target_sources(implot
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
# ---- linalg.h ----
|
|
||||||
# repository: https://github.com/sgorsten/linalg
|
|
||||||
# license : Unlicense
|
|
||||||
|
|
||||||
FetchContent_Declare(
|
|
||||||
linalg_h
|
|
||||||
URL "https://github.com/sgorsten/linalg/archive/a3e87da35e32b781a4b6c01cdd5efbe7ae51c737.zip"
|
|
||||||
)
|
|
||||||
FetchContent_Populate(linalg_h)
|
|
||||||
|
|
||||||
add_library(linalg.h INTERFACE)
|
|
||||||
target_include_directories(linalg.h SYSTEM
|
|
||||||
INTERFACE . "${linalg_h_SOURCE_DIR}"
|
|
||||||
)
|
|
||||||
target_sources(linalg.h
|
|
||||||
INTERFACE
|
|
||||||
"${linalg_h_SOURCE_DIR}/linalg.h"
|
|
||||||
linalg.hh
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
# ---- luajit ----
|
# ---- luajit ----
|
||||||
# repository: https://github.com/LuaJIT/LuaJIT
|
# repository: https://github.com/LuaJIT/LuaJIT
|
||||||
# license : MIT
|
# license : MIT
|
||||||
@ -212,6 +191,9 @@ include_luajit()
|
|||||||
|
|
||||||
|
|
||||||
# ---- magic_enum ----
|
# ---- magic_enum ----
|
||||||
|
# repository: https://github.com/Neargye/magic_enum
|
||||||
|
# license : MIT
|
||||||
|
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
magic_enum
|
magic_enum
|
||||||
URL "https://github.com/Neargye/magic_enum/archive/refs/tags/v0.8.1.zip"
|
URL "https://github.com/Neargye/magic_enum/archive/refs/tags/v0.8.1.zip"
|
||||||
|
20
thirdparty/linalg.hh
vendored
20
thirdparty/linalg.hh
vendored
@ -1,20 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
#include <imgui.h>
|
|
||||||
#include <linalg.h>
|
|
||||||
|
|
||||||
|
|
||||||
namespace linalg {
|
|
||||||
|
|
||||||
using namespace aliases;
|
|
||||||
|
|
||||||
template <>
|
|
||||||
struct converter<float2, ImVec2> {
|
|
||||||
float2 operator() (const ImVec2& v) const { return {v.x, v.y}; }
|
|
||||||
};
|
|
||||||
template <>
|
|
||||||
struct converter<ImVec2, float2> {
|
|
||||||
ImVec2 operator() (const float2& v) const { return {v.x, v.y}; }
|
|
||||||
};
|
|
||||||
|
|
||||||
} // namespace linalg
|
|
Loading…
x
Reference in New Issue
Block a user