Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
dg0yt committed Jan 1, 2025
1 parent 4887c36 commit 52f7762
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions ports/rtlsdr/library-linkage.diff
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,16 @@ index 92bbddf..20a2735 100644
Libs.private: @RTLSDR_PC_LIBS@
Requires.private: libusb-1.0
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 3c02e6c..18c3821 100644
index 3c02e6c..e6585ee 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -50,7 +50,6 @@ if(NOT WIN32)
@@ -45,12 +45,11 @@ target_include_directories(rtlsdr_static PUBLIC
${LIBUSB_INCLUDE_DIRS}
${THREADS_PTHREADS_INCLUDE_DIR}
)
-set_property(TARGET rtlsdr_static APPEND PROPERTY COMPILE_DEFINITIONS "rtlsdr_STATIC" )
+target_compile_definitions(rtlsdr_static PUBLIC "rtlsdr_STATIC")
if(NOT WIN32)
# Force same library filename for static and shared variants of the library
set_target_properties(rtlsdr_static PROPERTIES OUTPUT_NAME rtlsdr)
endif()
Expand Down
2 changes: 1 addition & 1 deletion versions/r-/rtlsdr.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"versions": [
{
"git-tree": "dcce1b665d9cd69e74b44e2e944bf91da0228f93",
"git-tree": "2979b941a68787481499b1b40268e8db724514a6",
"version": "2.0.2",
"port-version": 0
},
Expand Down

0 comments on commit 52f7762

Please sign in to comment.