aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-02-24 21:38:21 +0100
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-02-24 21:45:25 +0100
commit151798a2b27b1fe9d2df616e65ba3ca2afd28e83 (patch)
tree3b26306084f1660b4fc41c3f754d6d818d879bb8
parent84a5a3e9b31ba7563768cf033b77d42f0f1d2ed1 (diff)
libfixmath/CMakeLists.txt: avoid glob matching
-rw-r--r--libfixmath/CMakeLists.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/libfixmath/CMakeLists.txt b/libfixmath/CMakeLists.txt
index d1c4c26..946f1a2 100644
--- a/libfixmath/CMakeLists.txt
+++ b/libfixmath/CMakeLists.txt
@@ -1,3 +1,10 @@
-file(GLOB libfixmath-srcs libfixmath/*.h libfixmath/*.hpp libfixmath/*.c)
+add_library(fixmath STATIC
+ fix16.c
+ fix16_exp.c
+ fix16_sqrt.c
+ fix16_trig.c
+ fract32.c
+ uint32.c
+)
target_include_directories(fixmath PUBLIC .)