diff --git a/CMakeLists.txt b/CMakeLists.txt index dfaa8241..565687f3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,6 +25,11 @@ if (MSVC) add_custom_target(do_always_volk ALL xcopy /s \"C:/Program Files/PothosSDR/bin\\volk.dll\" \"$\" /Y) endif (MSVC) + +if (${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD") + add_custom_target(do_always ALL cp \"$/sdrpp_core.so\" \"$\") +endif () + if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") add_custom_target(do_always ALL cp \"$/sdrpp_core.so\" \"$\") endif () diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index 9c2a842f..a3400a9f 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -15,7 +15,6 @@ file(GLOB_RECURSE SRC "src/*.cpp" "src/*.c") # Add code to dyn lib add_library(sdrpp_core SHARED ${SRC}) -set_target_properties(sdrpp_core PROPERTIES PREFIX "") # Include core headers target_include_directories(sdrpp_core PUBLIC "src/")