Skip to content

Commit

Permalink
some changes in CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
pmokeev committed Aug 12, 2021
1 parent a6d15f7 commit 23491ce
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions app/src/main/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,6 @@ add_library(bridge SHARED ${SOURCE_LIST})
find_package(Scapix REQUIRED)
scapix_bridge_headers(bridge "com.googleresearch.capturesync.softwaresync" twist-n-sync-cpp/TimeSync.h)

set(GENERATED_DIR generated/bridge/java)

include_directories(
${GENERATED_DIR}
twist-n-sync-cpp
)

FetchContent_Declare(
eigen
GIT_REPOSITORY https://gitlab.com/libeigen/eigen.git
Expand All @@ -53,4 +46,11 @@ if(NOT spline_POPULATED)
endif()

include_directories(bridge PUBLIC ${eigen_SOURCE_DIR})
include_directories(bridge PUBLIC ${spline_SOURCE_DIR}/src)
include_directories(bridge PUBLIC ${spline_SOURCE_DIR}/src)

set(GENERATED_DIR generated/bridge/java)

include_directories(
${GENERATED_DIR}
twist-n-sync-cpp
)

0 comments on commit 23491ce

Please sign in to comment.