Skip to content
This repository was archived by the owner on May 16, 2024. It is now read-only.

Commit 489dec8

Browse files
committed
Fix missing pow-miner.exe and adjust-block.exe on windows due to missing 'getopt.h'.
1 parent 4b1a8b2 commit 489dec8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crypto/CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ target_link_libraries(pow-miner PRIVATE ton_crypto ton_block pow-miner-lib)
316316

317317
if (WINGETOPT_FOUND)
318318
target_link_libraries_system(fift wingetopt)
319+
target_link_libraries_system(pow-miner wingetopt)
319320
endif()
320321

321322
add_library(ton_block ${BLOCK_SOURCE})
@@ -430,6 +431,7 @@ target_include_directories(adjust-block PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT
430431
target_link_libraries(adjust-block PUBLIC ton_crypto fift-lib ton_block)
431432
if (WINGETOPT_FOUND)
432433
target_link_libraries_system(dump-block wingetopt)
434+
target_link_libraries_system(adjust-block wingetopt)
433435
endif()
434436

435437
add_executable(test-weight-distr block/test-weight-distr.cpp)

0 commit comments

Comments
 (0)