• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/libcgi/0001-CMakeLists.txt-libcgi-is-in-C.patch
Thomas PetazzoniThomas Petazzoni committed f1212fd9cc602 Sep 2017
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
From 043f7a470e32c036f0fe933ec5cd2003087d6b2e Mon Sep 17 00:00:00 2001
2
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3
Date: Sat, 2 Sep 2017 23:50:42 +0200
4
Subject: [PATCH] CMakeLists.txt: libcgi is in C
5
​
6
By default, CMake checks that both C and C++ compilers are
7
available. However, since libcgi is only C, there's no need for a C++
8
compiler check. Therefore, this commit adjusts the project() variable
9
definition to only require C language support.
10
​
11
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12
Submitted-upstream: https://github.com/rafaelsteil/libcgi/pull/38
13
---
14
 CMakeLists.txt | 2 +-
15
 1 file changed, 1 insertion(+), 1 deletion(-)
16
​
17
diff --git a/CMakeLists.txt b/CMakeLists.txt
18
index f98a99d..c599ca9 100644
19
--- a/CMakeLists.txt
20
+++ b/CMakeLists.txt
21
@@ -3,7 +3,7 @@
22
 #
23
 cmake_minimum_required(VERSION 2.8.8)
24
 
25
-project(cgi)
26
+project(cgi C)
27
 string(TOUPPER ${PROJECT_NAME} PROJECT_NAME_UC)
28
 string(TOLOWER ${PROJECT_NAME} PROJECT_NAME_LC)
29
 set(LIBPREFIX ${PROJECT_NAME})
30
-- 
31
2.13.5
32
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.