File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,13 @@ add_library(evdev SHARED
9494 android /libbase/stringprintf.cpp
9595 ${aidl_src_dir} /io/github/sds100/keymapper/sysbridge/IEvdevCallback.cpp )
9696
97+ # Set a stable custom output directory for libevdev.so so it can be linked to in other modules
98+ # Outputs to custom "libs" directory in the sysbridge module build directory
99+ set_target_properties (evdev PROPERTIES
100+ LIBRARY_OUTPUT_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR} /../../../build/libs/${ANDROID_ABI} "
101+ LIBRARY_OUTPUT_DIRECTORY_DEBUG "${CMAKE_CURRENT_SOURCE_DIR} /../../../build/libs/${ANDROID_ABI} "
102+ LIBRARY_OUTPUT_DIRECTORY_RELEASE "${CMAKE_CURRENT_SOURCE_DIR} /../../../build/libs/${ANDROID_ABI} " )
103+
97104find_library (
98105 binder_ndk-lib
99106 binder_ndk
You can’t perform that action at this time.
0 commit comments