From d118bbbd6ec8b9683e747461e2f41806e41afc9d Mon Sep 17 00:00:00 2001 From: Mooneer Salem Date: Wed, 2 Oct 2024 10:43:45 -0700 Subject: [PATCH] Ubuntu isn't liking linking to the .so file for some reason, partially reverting last commit. --- src/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index fd563e3..7866ad7 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -10,9 +10,9 @@ set_target_properties(rade PROPERTIES PUBLIC_HEADER "rade_api.h" ) -add_executable(radae_tx radae_tx.c) -target_link_libraries(radae_tx rade Python3::Python Python3::NumPy) +add_executable(radae_tx radae_tx.c rade_api.c) +target_link_libraries(radae_tx Python3::Python Python3::NumPy) -add_executable(radae_rx radae_rx.c) -target_link_libraries(radae_rx rade Python3::Python Python3::NumPy) +add_executable(radae_rx radae_rx.c rade_api.c) +target_link_libraries(radae_rx Python3::Python Python3::NumPy)