Skip to content

Commit f59a912

Browse files
committed
Add more include directories to module tests
1 parent 36d5eb0 commit f59a912

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build/module_test.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,7 @@ if (SCRATCHCPP_PLAYER_BUILD_UNIT_TESTS)
2121
)
2222

2323
target_include_directories(${TARGET} PRIVATE ${MODULE_SRC_DIR})
24+
target_include_directories(${TARGET} PRIVATE ${PROJECT_SOURCE_DIR}/src)
25+
target_include_directories(${TARGET} PRIVATE ${PROJECT_SOURCE_DIR}/src/global)
2426
gtest_discover_tests(${TARGET})
2527
endif()

0 commit comments

Comments
 (0)