mirror of
https://github.com/lakinduakash/linux-wifi-hotspot.git
synced 2024-11-24 13:10:14 +00:00
configure with cmake
This commit is contained in:
parent
3489eec5dd
commit
8aa147af10
16
src/CMakeLists.txt
Normal file
16
src/CMakeLists.txt
Normal file
@ -0,0 +1,16 @@
|
||||
cmake_minimum_required(VERSION 3.12)
|
||||
project(wihotspot C)
|
||||
|
||||
include(FindPkgConfig)
|
||||
pkg_check_modules(GTK gtk+-3.0 REQUIRED)
|
||||
include_directories(${GTK_INCLUDE_DIRS})
|
||||
|
||||
set(CMAKE_C_STANDARD 99)
|
||||
|
||||
add_executable(wihotspot ui/main.c)
|
||||
|
||||
target_link_libraries(${PROJECT_NAME} ${GTK_LIBRARIES})
|
||||
|
||||
include_directories(/usr/include)
|
||||
|
||||
file(COPY ui/glade DESTINATION ${CMAKE_BINARY_DIR})
|
Loading…
Reference in New Issue
Block a user