Skip to content

Commit 0daade2

Browse files
committed
Checkout submodules
1 parent 66452e1 commit 0daade2

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ jobs:
2828
steps:
2929
- name: Checkout repository
3030
uses: actions/checkout@v4
31+
with:
32+
submodules: true
3133
- name: Build NDTable
3234
run: |
3335
cmake -S C -B C/${{ matrix.name }}

C/CMakeLists.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,16 @@ endif ()
3131
message(STATUS "PLATFORM: ${PLATFORM}")
3232

3333
add_library(NDTable SHARED
34-
"${CMAKE_CURRENT_SOURCE_DIR}/include/Python.h"
35-
"${CMAKE_CURRENT_SOURCE_DIR}/src/Python.c"
36-
"${CMAKE_CURRENT_SOURCE_DIR}/NDTable/include/NDTable.h"
37-
"${CMAKE_CURRENT_SOURCE_DIR}/NDTable/src/Core.c"
38-
"${CMAKE_CURRENT_SOURCE_DIR}/NDTable/src/Interpolation.c"
34+
"include/Python.h"
35+
"src/Python.c"
36+
"NDTable/include/NDTable.h"
37+
"NDTable/src/Core.c"
38+
"NDTable/src/Interpolation.c"
3939
)
4040

4141
target_include_directories(NDTable PRIVATE
42-
"${CMAKE_CURRENT_SOURCE_DIR}/include"
43-
"${CMAKE_CURRENT_SOURCE_DIR}/NDTable/include"
42+
"include"
43+
"NDTable/include"
4444
)
4545

4646
install(TARGETS NDTable DESTINATION "${CMAKE_CURRENT_SOURCE_DIR}/../src/sdf/${PLATFORM}")

0 commit comments

Comments
 (0)