Skip to content

Commit e665a95

Browse files
committed
Fix CMake DLL copying.
1 parent ebfbb6e commit e665a95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/bindings/c/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ add_executable(foo_c main.c ${tests})
2929
target_link_libraries(foo_c PRIVATE ${foo_target})
3030

3131
# Copy the DLL after build (if using dynamic)
32-
if(${foo_target} EQUAL "foo")
32+
if(${foo_target} STREQUAL "foo")
3333
add_custom_command(TARGET foo_c POST_BUILD
3434
COMMAND ${CMAKE_COMMAND} -E copy_if_different $<TARGET_FILE:foo> $<TARGET_FILE_DIR:foo_c>
3535
)

0 commit comments

Comments
 (0)