Skip to content

Commit a050fb3

Browse files
committed
Fix extra files
1 parent 8c83907 commit a050fb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/cmake.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ pub fn write_extern_cmake(dep: &SharedPackageConfig, repo: &impl Repository) ->
184184
if path.is_file() {
185185
writeln!(
186186
result,
187-
"add_library(${{COMPILE_ID}} SHARED ${{EXTERN_DIR}}/{})",
187+
"target_sources(${{COMPILE_ID}} SHARED ${{EXTERN_DIR}}/{})",
188188
extern_path.display()
189189
)?;
190190
} else {

0 commit comments

Comments
 (0)