Skip to content

Commit b3da5de

Browse files
committed
Use target link lib to show that ystdlib has actually been built
1 parent c60837c commit b3da5de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@ add_subdirectory(src/ystdlib)
4444
# Test dummy project
4545
add_executable(dummy)
4646
target_sources(dummy PRIVATE src/ystdlib/hello.cpp)
47+
target_link_libraries(dummy PRIVATE ystdlib::array)
4748
target_compile_features(dummy PRIVATE cxx_std_20)
48-
target_include_directories(dummy PRIVATE ${YSTDLIB_CPP_BUILD_INCLUDE_DIRS})

0 commit comments

Comments
 (0)