From 35ef99c6e9dfda12f5ce7ea4c2172c87c77ff12e Mon Sep 17 00:00:00 2001 From: Ryzerth Date: Sun, 20 Sep 2020 00:41:35 +0200 Subject: [PATCH] Fixed issues with new module system 4 --- core/CMakeLists.txt | 1 + demo/CMakeLists.txt | 3 ++- radio/CMakeLists.txt | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index 4ae3fa89..4319ef60 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -19,6 +19,7 @@ file(GLOB IMGUI "src/imgui/*.cpp") # Add code to dyn lib add_library(sdrpp_core SHARED ${SRC} ${GUI} ${SIGPATH} ${IMGUI}) +set_target_properties(sdrpp_core PROPERTIES PREFIX "") # Include core headers target_include_directories(sdrpp_core PUBLIC "src/") diff --git a/demo/CMakeLists.txt b/demo/CMakeLists.txt index 7354f36e..1af478f1 100644 --- a/demo/CMakeLists.txt +++ b/demo/CMakeLists.txt @@ -11,4 +11,5 @@ endif (MSVC) file(GLOB SRC "src/*.cpp") add_library(demo SHARED ${SRC}) -target_link_libraries(demo PRIVATE sdrpp_core) \ No newline at end of file +target_link_libraries(demo PRIVATE sdrpp_core) +set_target_properties(demo PROPERTIES PREFIX "") \ No newline at end of file diff --git a/radio/CMakeLists.txt b/radio/CMakeLists.txt index b6cfe995..ccaa1daa 100644 --- a/radio/CMakeLists.txt +++ b/radio/CMakeLists.txt @@ -13,4 +13,5 @@ file(GLOB SRC "src/*.cpp") include_directories("src/") add_library(radio SHARED ${SRC}) -target_link_libraries(radio PRIVATE sdrpp_core) \ No newline at end of file +target_link_libraries(radio PRIVATE sdrpp_core) +set_target_properties(radio PROPERTIES PREFIX "") \ No newline at end of file