diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..18493d0 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,12 @@ +cmake_minimum_required(VERSION 3.19) +project(captive-netns-helper C) + +set(CMAKE_C_STANDARD 99) + +if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) + set(CMAKE_INSTALL_PREFIX /usr/local/bin) +endif(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) + +add_executable(captive-netns-helper main.c) +install(TARGETS captive-netns-helper + RUNTIME DESTINATION bin)
\ No newline at end of file |