Skip to content

Commit b3c4796

Browse files
committed
Trying to correct adding sqlite_orm.ixx to test target sources
1 parent f673902 commit b3c4796

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/CMakeLists.txt

+4-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ if(SQLITE_ORM_ENABLE_CXX_23 AND CMAKE_VERSION VERSION_GREATER_EQUAL 3.28.2 AND M
1111
named_module.cpp
1212
)
1313

14-
target_sources(module_tests PUBLIC
15-
FILE_SET all_my_modules TYPE CXX_MODULES FILES
16-
../modules/sqlite_orm.ixx
14+
target_sources(module_tests
15+
PRIVATE FILE_SET all_modules TYPE CXX_MODULES
16+
BASE_DIRS ../modules
17+
FILES sqlite_orm.ixx
1718
)
1819

1920
target_compile_features(module_tests PUBLIC cxx_std_23)

0 commit comments

Comments
 (0)