pineapple/externals/getopt/CMakeLists.txt

10 lines
217 B
CMake
Raw Normal View History

2020-12-28 16:15:37 +01:00
add_library(getopt
getopt.c
getopt.h
)
create_target_directory_groups(getopt)
target_compile_definitions(getopt PUBLIC STATIC_GETOPT)
target_include_directories(getopt INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})