3rdparty: Add additional build facilities for 3rd-party code
diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt
index afabdf7..2afbfd7 100644
--- a/library/CMakeLists.txt
+++ b/library/CMakeLists.txt
@@ -64,9 +64,10 @@
     version.c
     version_features.c
     xtea.c
-    ${src_thirdparty}
 )
 
+list(APPEND src_crypto ${thirdparty_src})
+
 set(src_x509
     certs.c
     pkcs11.c