Added proper cmake debug support

This commit is contained in:
AlexandreRouma
2023-02-15 20:37:13 +01:00
parent 570b8dbd7c
commit 8f972ee0b2
2 changed files with 22 additions and 10 deletions

View File

@ -30,7 +30,7 @@ endif (OPT_BACKEND_ANDROID)
add_library(sdrpp_core SHARED ${SRC} ${BACKEND_SRC})
# Set compiler options
target_compile_options(sdrpp_core PRIVATE ${SDRPP_COMPILER_ARGS})
target_compile_options(sdrpp_core PRIVATE ${SDRPP_COMPILER_FLAGS})
# Set the install prefix
target_compile_definitions(sdrpp_core PUBLIC INSTALL_PREFIX="${CMAKE_INSTALL_PREFIX}")