mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-23 13:41:02 +00:00
UPDATE: modify cmake scripts, adding warning messages.
This commit is contained in:
@@ -8,8 +8,7 @@ list(SORT SRC_FILES)
|
||||
|
||||
add_executable(test-sample ${SRC_FILES})
|
||||
|
||||
if(CMAKE_C_COMPILER MATCHES "/.*/x86_64-w64-mingw32-gcc$")
|
||||
target_link_options(test-sample PRIVATE -static-libstdc++ -static -lwinpthread)
|
||||
if(MINGW)
|
||||
target_link_libraries(test-sample PRIVATE ws2_32)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user