This commit is contained in:
AlexandreRouma 2023-02-16 07:59:01 +01:00
parent 8f972ee0b2
commit 93e985ab54

View File

@ -2,8 +2,8 @@
if (NOT SDRPP_CORE_ROOT)
set(SDRPP_CORE_ROOT "@SDRPP_CORE_ROOT@")
endif ()
if (NOT SDRPP_MODULE_COMPILER_ARGS)
set(SDRPP_MODULE_COMPILER_ARGS @SDRPP_MODULE_COMPILER_ARGS@)
if (NOT SDRPP_MODULE_COMPILER_FLAGS)
set(SDRPP_MODULE_COMPILER_FLAGS @SDRPP_MODULE_COMPILER_FLAGS@)
endif ()
# Created shared lib and link to core
@ -13,7 +13,7 @@ target_include_directories(${PROJECT_NAME} PRIVATE "${SDRPP_CORE_ROOT}/src/")
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
# Set compile arguments
target_compile_options(${PROJECT_NAME} PRIVATE ${SDRPP_MODULE_COMPILER_ARGS})
target_compile_options(${PROJECT_NAME} PRIVATE ${SDRPP_MODULE_COMPILER_FLAGS})
# Install directives
install(TARGETS ${PROJECT_NAME} DESTINATION lib/sdrpp/plugins)