1
0
mirror of synced 2025-01-18 00:56:49 +01:00

build: Remove unused dependency glm

This commit is contained in:
WerWolv 2021-08-25 11:46:40 +02:00
parent ef0a915188
commit 5b148f2d7a
7 changed files with 2 additions and 9 deletions

3
dist/Brewfile vendored
View File

@ -1,8 +1,7 @@
brew "glfw3"
brew "mbedtls@2"
brew "mbedtls"
brew "capstone"
brew "nlohmann-json"
brew "glm"
brew "cmake"
brew "python3"
brew "freetype2"

View File

@ -28,7 +28,6 @@ RDEPEND="${DEPEND}
dev-libs/mbedtls
dev-libs/capstone
dev-cpp/nlohmann_json
media-libs/glm
x11-libs/gtk+
"
BDEPEND="${DEPEND}"

View File

@ -7,7 +7,6 @@ pacman -S --needed \
file \
mbedtls \
capstone \
glm \
python3 \
freetype2 \
gtk3

View File

@ -6,7 +6,6 @@ dnf install \
capstone-devel \
file-devel \
glfw-devel \
glm-devel \
mesa-libGL-devel \
mbedtls-devel \
python-devel \

View File

@ -6,7 +6,6 @@ pacman -S --needed --noconfirm \
mingw-w64-x86_64-make \
mingw-w64-x86_64-capstone \
mingw-w64-x86_64-glfw \
mingw-w64-x86_64-glm \
mingw-w64-x86_64-file \
mingw-w64-x86_64-mbedtls \
mingw-w64-x86_64-python \

1
dist/msys2/PKGBUILD vendored
View File

@ -14,7 +14,6 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
"${MINGW_PACKAGE_PREFIX}-dlfcn"
"${MINGW_PACKAGE_PREFIX}-capstone"
"${MINGW_PACKAGE_PREFIX}-glfw"
"${MINGW_PACKAGE_PREFIX}-glm"
"${MINGW_PACKAGE_PREFIX}-file"
"${MINGW_PACKAGE_PREFIX}-mbedtls"
"${MINGW_PACKAGE_PREFIX}-polly"

View File

@ -5,7 +5,6 @@ set(CMAKE_CXX_STANDARD 17)
find_package(PkgConfig REQUIRED)
find_package(Freetype REQUIRED)
pkg_search_module(GLM REQUIRED glm)
pkg_search_module(GLFW REQUIRED glfw3)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
@ -38,7 +37,7 @@ add_compile_definitions(IMGUI_IMPL_OPENGL_LOADER_GLAD)
target_include_directories(imgui PUBLIC include fonts ${FREETYPE_INCLUDE_DIRS} ${GLFW_INCLUDE_DIRS})
target_link_directories(imgui PUBLIC ${GLM_INCLUDE_DIRS} ${GLFW_LIBRARY_DIRS})
target_link_directories(imgui PUBLIC ${GLFW_LIBRARY_DIRS})
if (WIN32)
target_link_libraries(imgui Freetype::Freetype glfw3 opengl32.lib)