libfixmath/CMakeLists.txt: avoid glob matching

This commit is contained in:
Xavier Del Campo Romero 2022-02-24 21:38:21 +01:00
parent 84a5a3e9b3
commit 151798a2b2
1 changed files with 8 additions and 1 deletions

View File

@ -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 .)