xmlrpc-c/0011-added-main-to-give-TRY_COMPILE-a-chance-to-succeed.txt
2006-09-18 17:52:40 +00:00

21 lines
543 B
Plaintext

From 3fc30a0e77c32250ed24693236e225e651ada5c4 Mon Sep 17 00:00:00 2001
From: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Date: Mon, 18 Sep 2006 19:47:54 +0200
Subject: [PATCH] added main() to give TRY_COMPILE() a chance to succeed...
---
cmake/try-attr.cc | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/cmake/try-attr.cc b/cmake/try-attr.cc
index a715bc5..4668c5b 100644
--- a/cmake/try-attr.cc
+++ b/cmake/try-attr.cc
@@ -1 +1,3 @@
int x __attribute__((CMAKE_TEST_ATTR));
+
+int main() {}
--
1.4.2