Skip to content

Commit

Permalink
Trying to correct adding sqlite_orm.ixx to test target sources
Browse files Browse the repository at this point in the history
  • Loading branch information
trueqbit committed Jul 22, 2024
1 parent f673902 commit b3c4796
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ if(SQLITE_ORM_ENABLE_CXX_23 AND CMAKE_VERSION VERSION_GREATER_EQUAL 3.28.2 AND M
named_module.cpp
)

target_sources(module_tests PUBLIC
FILE_SET all_my_modules TYPE CXX_MODULES FILES
../modules/sqlite_orm.ixx
target_sources(module_tests
PRIVATE FILE_SET all_modules TYPE CXX_MODULES
BASE_DIRS ../modules
FILES sqlite_orm.ixx
)

target_compile_features(module_tests PUBLIC cxx_std_23)
Expand Down

0 comments on commit b3c4796

Please sign in to comment.