mirror of
https://github.com/utoni/nDPId.git
synced 2026-05-05 19:15:06 +00:00
Add OpenWrt CI via Github Actions.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
parent
b8cfe1d6d3
commit
b3e9af495c
5 changed files with 85 additions and 6 deletions
|
|
@ -0,0 +1,17 @@
|
|||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 9045237..83f72b3 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,12 +1,5 @@
|
||||
cmake_minimum_required(VERSION 3.12.4)
|
||||
project(nDPId C)
|
||||
-if("${PROJECT_SOURCE_DIR}" STREQUAL "${PROJECT_BINARY_DIR}")
|
||||
- message(FATAL_ERROR "In-source builds are not allowed.\n"
|
||||
- "Please remove ${PROJECT_SOURCE_DIR}/CMakeCache.txt\n"
|
||||
- "and\n"
|
||||
- "${PROJECT_SOURCE_DIR}/CMakeFiles\n"
|
||||
- "Create a build directory somewhere and run CMake again.")
|
||||
-endif()
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
|
||||
find_package(PkgConfig REQUIRED)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue