mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-02-02 21:04:45 +01:00
Added fixes for clang
This commit is contained in:
parent
ba25eee09a
commit
dfd29bfa04
@ -88,6 +88,10 @@ else()
|
|||||||
set(CMAKE_CXX_FLAGS "-O3 -std=c++17")
|
set(CMAKE_CXX_FLAGS "-O3 -std=c++17")
|
||||||
endif (MSVC)
|
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")
|
add_executable(sdrpp "src/main.cpp" "win32/resources.rc")
|
||||||
target_link_libraries(sdrpp PRIVATE sdrpp_core)
|
target_link_libraries(sdrpp PRIVATE sdrpp_core)
|
||||||
|
|
||||||
|
@ -10,6 +10,10 @@ else()
|
|||||||
endif (MSVC)
|
endif (MSVC)
|
||||||
add_definitions(-DSDRPP_IS_CORE)
|
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
|
# Set the install prefix
|
||||||
add_compile_definitions(INSTALL_PREFIX="${CMAKE_INSTALL_PREFIX}")
|
add_compile_definitions(INSTALL_PREFIX="${CMAKE_INSTALL_PREFIX}")
|
||||||
|
|
||||||
|
@ -21,7 +21,6 @@ SDR++ is a cross-platform and open source SDR software with the aim of being blo
|
|||||||
* Digital demodulators and decoders
|
* Digital demodulators and decoders
|
||||||
* Light theme (I know you weirdos exist lol)
|
* Light theme (I know you weirdos exist lol)
|
||||||
* Waterfall color scheme editor
|
* Waterfall color scheme editor
|
||||||
* Switchable fft size
|
|
||||||
* other small customisation options
|
* other small customisation options
|
||||||
|
|
||||||
# Installing
|
# Installing
|
||||||
|
Loading…
x
Reference in New Issue
Block a user