strawberry-audio-player-win.../3rdparty/getopt/CMakeLists.txt

4 lines
179 B
CMake

add_library(getopt STATIC getopt.cpp)
target_compile_definitions(getopt PRIVATE -DSTATIC_GETOPT -D_UNICODE)
target_include_directories(getopt PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})