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 1a92799 commit 9442bc5Copy full SHA for 9442bc5
lib/libzsync/CMakeLists.txt
@@ -19,6 +19,9 @@ target_link_libraries(libzsync PRIVATE zsync2_libz PUBLIC librcksum)
19
# declare includes
20
target_include_directories(libzsync PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}")
21
22
+# needed for strptime to work
23
+target_compile_definitions(libzsync PRIVATE _GNU_SOURCE _XOPEN_SOURCE)
24
+
25
# add tests
26
add_executable(sha1test sha1.c sha1test.c)
27
add_test(sha1test sha1test)
0 commit comments