File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
topics/build_systems/code Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ list(REMOVE_ITEM BF_SRC_ALL ${BF_SRC_MAIN})
1313# internal library target
1414set(BF_TARGET_LIB ${BF_TARGET}-lib)
1515add_library(${BF_TARGET_LIB} STATIC ${BF_SRC_ALL})
16- target_include_directories(${BF_TARGET_LIB} PUBLIC "libs" " src")
16+ target_include_directories(${BF_TARGET_LIB} PUBLIC "src")
1717
1818# main app target
1919set(BF_TARGET_APP ${BF_TARGET}-app)
@@ -24,5 +24,6 @@ target_link_libraries(${BF_TARGET_APP} PRIVATE ${BF_TARGET_LIB})
2424set(BF_TARGET_TEST ${BF_TARGET}-test)
2525enable_testing()
2626add_executable(${BF_TARGET_TEST} ${BF_TEST_ALL})
27+ target_include_directories(${BF_TARGET_TEST} PRIVATE "libs")
2728add_test(unittest ${BF_TARGET_TEST})
2829target_link_libraries(${BF_TARGET_TEST} PRIVATE ${BF_TARGET_LIB})
You can’t perform that action at this time.
0 commit comments