Minor fix for app-lib flags in CMakeLists.txt file

This commit is contained in:
David Capello 2021-09-22 18:34:23 -03:00
parent 911589111e
commit 8b215235c7

View File

@ -684,8 +684,10 @@ if(ENABLE_STEAM)
endif()
if(ENABLE_SENTRY)
target_compile_definitions(app-lib PUBLIC -DENABLE_SENTRY -DSENTRY_BUILD_STATIC=1)
target_compile_definitions(app-lib PUBLIC -DSENTRY_DNS="${SENTRY_DNS}" -DSENTRY_BUILD_STATIC=1)
target_compile_definitions(app-lib PUBLIC
-DENABLE_SENTRY
-DSENTRY_BUILD_STATIC=1
-DSENTRY_DNS="${SENTRY_DNS}")
add_subdirectory(${SENTRY_DIR} sentry)
target_link_libraries(app-lib sentry)
endif()