cmake_minimum_required(VERSION 3.10) project(poker_portable C) set(CMAKE_C_STANDARD 99) add_executable(poker_portable src_portable/casino_portable.c src_portable/casino_portable.h ) if(WIN32) target_link_libraries(poker_portable ws2_32) endif()