We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebfbb6e commit e665a95Copy full SHA for e665a95
tests/bindings/c/CMakeLists.txt
@@ -29,7 +29,7 @@ add_executable(foo_c main.c ${tests})
29
target_link_libraries(foo_c PRIVATE ${foo_target})
30
31
# Copy the DLL after build (if using dynamic)
32
-if(${foo_target} EQUAL "foo")
+if(${foo_target} STREQUAL "foo")
33
add_custom_command(TARGET foo_c POST_BUILD
34
COMMAND ${CMAKE_COMMAND} -E copy_if_different $<TARGET_FILE:foo> $<TARGET_FILE_DIR:foo_c>
35
)
0 commit comments