Move extensions to src/native

This commit is contained in:
Tobe O 2019-08-16 10:53:45 -04:00
parent 988328c51d
commit 5c339f8b46
3 changed files with 3 additions and 3 deletions

View file

@ -7,6 +7,6 @@ include_directories(libinjection/src)
add_subdirectory(libinjection/src) add_subdirectory(libinjection/src)
add_dart_native_extension(angel_security_native lib/src/native/angel_security.c) add_dart_native_extension(angel_security_native lib/src/native/angel_security.c)
target_link_libraries(angel_security_native injection) target_link_libraries(angel_security_native injection)
install(TARGETS angel_security_native install(TARGETS angel_security_native injection
ARCHIVE DESTINATION "${CMAKE_CURRENT_LIST_DIR}/lib/src" ARCHIVE DESTINATION "${CMAKE_CURRENT_LIST_DIR}/lib/src/native"
LIBRARY DESTINATION "${CMAKE_CURRENT_LIST_DIR}/lib/src") LIBRARY DESTINATION "${CMAKE_CURRENT_LIST_DIR}/lib/src/native")