Skip to content

Commit c4b0de6

Browse files
committed
Add missing sources to CMakeLists
Signed-off-by: Martynas Gurskas <[email protected]>
1 parent 2c0b46c commit c4b0de6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp-tests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ add_library(uniffi_${TEST_NAME} SHARED
3939
scaffolding_tests/${TEST_NAME}/lib_${TEST_NAME}.cpp)
4040
target_include_directories(uniffi_${TEST_NAME} PRIVATE scaffolding_tests/${TEST_NAME} ${BINDINGS_SRC_DIR})
4141

42-
add_executable(${TEST_NAME}-scaffolding-test ${BINARY_SOURCES})
42+
add_executable(${TEST_NAME}-scaffolding-test scaffolding_tests/${TEST_NAME}/main.cpp ${BINDINGS_SRC_DIR}/${TEST_NAME}.cpp)
4343
target_include_directories(${TEST_NAME}-scaffolding-test PRIVATE ${BINDINGS_SRC_DIR} include)
4444
target_link_libraries(${TEST_NAME}-scaffolding-test uniffi_${TEST_NAME})
4545

0 commit comments

Comments
 (0)