Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 13 additions & 9 deletions android/src/main/jni/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,16 @@ target_link_libraries(
reactnative
)

target_compile_options(
react_codegen_RTNDatePickerSpecs
PRIVATE
-DLOG_TAG=\"ReactNative\"
-fexceptions
-frtti
-std=c++20
-Wall
)
if(ReactAndroid_VERSION_MINOR GREATER_EQUAL 80)
target_compile_reactnative_options(react_codegen_RTNDatePickerSpecs PRIVATE)
else()
target_compile_options(
react_codegen_RTNDatePickerSpecs
PRIVATE
-DLOG_TAG=\"ReactNative\"
-fexceptions
-frtti
-std=c++20
-Wall
)
endif()