diff --git a/CMakeLists.txt b/CMakeLists.txt index 90943e61..02068369 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -88,6 +88,10 @@ else() set(CMAKE_CXX_FLAGS "-O3 -std=c++17") endif (MSVC) +if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") + set(CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS "${CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS} -undefined dynamic_lookup") +endif() + add_executable(sdrpp "src/main.cpp" "win32/resources.rc") target_link_libraries(sdrpp PRIVATE sdrpp_core) diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index 8efd53c1..0d4362f7 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -10,6 +10,10 @@ else() endif (MSVC) add_definitions(-DSDRPP_IS_CORE) +if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") + set(CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS "${CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS} -undefined dynamic_lookup") +endif() + # Set the install prefix add_compile_definitions(INSTALL_PREFIX="${CMAKE_INSTALL_PREFIX}") diff --git a/readme.md b/readme.md index 0be399b9..d7211cca 100644 --- a/readme.md +++ b/readme.md @@ -21,7 +21,6 @@ SDR++ is a cross-platform and open source SDR software with the aim of being blo * Digital demodulators and decoders * Light theme (I know you weirdos exist lol) * Waterfall color scheme editor -* Switchable fft size * other small customisation options # Installing