mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 05:39:18 +02:00
fix repeated target_link_libraries on bootstrap target
This commit is contained in:
parent
7595ecbc09
commit
2f663dff33
1 changed files with 5 additions and 4 deletions
|
@ -113,11 +113,12 @@ add_executable(chibi-scheme-bootstrap
|
||||||
${chibi-scheme-srcs}
|
${chibi-scheme-srcs}
|
||||||
main.c)
|
main.c)
|
||||||
|
|
||||||
target_link_libraries(chibi-scheme-bootstrap
|
|
||||||
PRIVATE libchibi-common)
|
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
target_link_libraries(chibi-scheme-bootstrap ws2_32)
|
target_link_libraries(chibi-scheme-bootstrap
|
||||||
|
PRIVATE ws2_32 libchibi-common)
|
||||||
|
else()
|
||||||
|
target_link_libraries(chibi-scheme-bootstrap
|
||||||
|
PRIVATE libchibi-common)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(CYGWIN OR WIN32)
|
if(CYGWIN OR WIN32)
|
||||||
|
|
Loading…
Add table
Reference in a new issue