mirror of
https://github.com/recp/cglm.git
synced 2025-10-03 08:41:55 +00:00
build: fix make install include path
* now we can include library headers like this: #include <cglm/cglm.h>
This commit is contained in:
13
autogen.sh
13
autogen.sh
@@ -6,12 +6,15 @@
|
||||
# Full license can be found in the LICENSE file
|
||||
#
|
||||
|
||||
cd `dirname "$0"`
|
||||
cd $(dirname "$0")
|
||||
|
||||
if [ "`uname`" = "Darwin" ]; then
|
||||
libtoolBin=$(which glibtoolize)
|
||||
libtoolBinDir=$(dirname "${libtoolBin}")
|
||||
ln -s $libtoolBin "${libtoolBinDir}/libtoolize"
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
libtoolBin=$(which glibtoolize)
|
||||
libtoolBinDir=$(dirname "${libtoolBin}")
|
||||
|
||||
if [ ! -f "${libtoolBinDir}/libtoolize" ]; then
|
||||
ln -s $libtoolBin "${libtoolBinDir}/libtoolize"
|
||||
fi
|
||||
fi
|
||||
|
||||
autoheader
|
||||
|
@@ -7,7 +7,7 @@
|
||||
#*****************************************************************************
|
||||
|
||||
AC_PREREQ([2.69])
|
||||
AC_INIT([cglm], [0.2.0], [info@recp.me])
|
||||
AC_INIT([cglm], [0.2.1], [info@recp.me])
|
||||
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
|
||||
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
|
@@ -10,6 +10,6 @@
|
||||
|
||||
#define CGLM_VERSION_MAJOR 0
|
||||
#define CGLM_VERSION_MINOR 2
|
||||
#define CGLM_VERSION_PATCH 0
|
||||
#define CGLM_VERSION_PATCH 1
|
||||
|
||||
#endif /* cglm_version_h */
|
||||
|
15
makefile.am
15
makefile.am
@@ -32,7 +32,8 @@ TESTS = $(check_PROGRAMS)
|
||||
test_test_mat4_LDFLAGS = $(checkLDFLAGS)
|
||||
test_test_mat4_CFLAGS = $(checkCFLAGS)
|
||||
|
||||
nobase_include_HEADERS = include/cglm-version.h \
|
||||
cglmdir=$(includedir)/cglm
|
||||
cglm_HEADERS = include/cglm-version.h \
|
||||
include/cglm.h \
|
||||
include/cglm-call.h \
|
||||
include/cglm-cam.h \
|
||||
@@ -46,15 +47,19 @@ nobase_include_HEADERS = include/cglm-version.h \
|
||||
include/cglm-util.h \
|
||||
include/cglm-quat.h \
|
||||
include/cglm-mat.h \
|
||||
include/cglm-affine-mat.h \
|
||||
include/arch/simd/cglm-mat-simd-avx.h \
|
||||
include/cglm-affine-mat.h
|
||||
|
||||
cglm_arch_simddir=$(includedir)/cglm/arch/simd/
|
||||
cglm_arch_simd_HEADERS = include/arch/simd/cglm-mat-simd-avx.h \
|
||||
include/arch/simd/cglm-affine-mat-avx.h \
|
||||
include/arch/simd/cglm-quat-simd.h \
|
||||
include/arch/simd/cglm-affine-mat-sse2.h \
|
||||
include/arch/simd/cglm-mat3-simd-sse2.h \
|
||||
include/arch/simd/cglm-mat-simd-sse2.h \
|
||||
include/arch/simd/cglm-intrin.h \
|
||||
include/call/cglmc-euler.h \
|
||||
include/arch/simd/cglm-intrin.h
|
||||
|
||||
cglm_calldir=$(includedir)/cglm/call
|
||||
cglm_call_HEADERS = include/call/cglmc-euler.h \
|
||||
include/call/cglmc-quat.h \
|
||||
include/call/cglmc-cam.h \
|
||||
include/call/cglmc-io.h \
|
||||
|
Reference in New Issue
Block a user