forked from conan-io/conan-center-index
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* poco new version * Fix Linux build for poco 1.11 Signed-off-by: Uilian Ries <uilianries@gmail.com> * poco new version * poco new version Co-authored-by: Uilian Ries <uilianries@gmail.com>
- Loading branch information
1 parent
9a61c75
commit a07cd20
Showing
6 changed files
with
216 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,156 @@ | ||
diff --git a/Data/MySQL/include/Poco/Data/MySQL/Binder.h b/Data/MySQL/include/Poco/Data/MySQL/Binder.h | ||
index 82fa617..dd7bf60 100644 | ||
--- a/Data/MySQL/include/Poco/Data/MySQL/Binder.h | ||
+++ b/Data/MySQL/include/Poco/Data/MySQL/Binder.h | ||
@@ -22,7 +22,7 @@ | ||
#include "Poco/Data/AbstractBinder.h" | ||
#include "Poco/Data/LOB.h" | ||
#include "Poco/Data/MySQL/MySQLException.h" | ||
-#include <mysql/mysql.h> | ||
+#include <mysql.h> | ||
|
||
|
||
namespace Poco { | ||
diff --git a/Data/MySQL/include/Poco/Data/MySQL/MySQL.h b/Data/MySQL/include/Poco/Data/MySQL/MySQL.h | ||
index 6ddcd39..7f4cd22 100644 | ||
--- a/Data/MySQL/include/Poco/Data/MySQL/MySQL.h | ||
+++ b/Data/MySQL/include/Poco/Data/MySQL/MySQL.h | ||
@@ -19,7 +19,7 @@ | ||
|
||
|
||
#include "Poco/Foundation.h" | ||
-#include <mysql/mysql.h> | ||
+#include <mysql.h> | ||
|
||
|
||
// | ||
diff --git a/Data/MySQL/include/Poco/Data/MySQL/MySQLException.h b/Data/MySQL/include/Poco/Data/MySQL/MySQLException.h | ||
index 67692df..2d28da3 100644 | ||
--- a/Data/MySQL/include/Poco/Data/MySQL/MySQLException.h | ||
+++ b/Data/MySQL/include/Poco/Data/MySQL/MySQLException.h | ||
@@ -20,7 +20,7 @@ | ||
|
||
#include "Poco/Data/MySQL/MySQL.h" | ||
#include "Poco/Data/DataException.h" | ||
-#include <mysql/mysql.h> | ||
+#include <mysql.h> | ||
#include <typeinfo> | ||
#include <string> | ||
|
||
diff --git a/Data/MySQL/include/Poco/Data/MySQL/ResultMetadata.h b/Data/MySQL/include/Poco/Data/MySQL/ResultMetadata.h | ||
index 3a45387..9361dcf 100644 | ||
--- a/Data/MySQL/include/Poco/Data/MySQL/ResultMetadata.h | ||
+++ b/Data/MySQL/include/Poco/Data/MySQL/ResultMetadata.h | ||
@@ -19,7 +19,7 @@ | ||
|
||
|
||
#include "Poco/Data/MetaColumn.h" | ||
-#include <mysql/mysql.h> | ||
+#include <mysql.h> | ||
#include <vector> | ||
|
||
|
||
diff --git a/Data/MySQL/include/Poco/Data/MySQL/SessionHandle.h b/Data/MySQL/include/Poco/Data/MySQL/SessionHandle.h | ||
index 4f65ae5..f9df7ad 100644 | ||
--- a/Data/MySQL/include/Poco/Data/MySQL/SessionHandle.h | ||
+++ b/Data/MySQL/include/Poco/Data/MySQL/SessionHandle.h | ||
@@ -19,7 +19,7 @@ | ||
|
||
|
||
#include "Poco/Data/MySQL/MySQLException.h" | ||
-#include <mysql/mysql.h> | ||
+#include <mysql.h> | ||
|
||
|
||
namespace Poco { | ||
diff --git a/Data/MySQL/include/Poco/Data/MySQL/StatementExecutor.h b/Data/MySQL/include/Poco/Data/MySQL/StatementExecutor.h | ||
index 6767b68..55f0991 100644 | ||
--- a/Data/MySQL/include/Poco/Data/MySQL/StatementExecutor.h | ||
+++ b/Data/MySQL/include/Poco/Data/MySQL/StatementExecutor.h | ||
@@ -19,7 +19,7 @@ | ||
|
||
|
||
#include "Poco/Data/MySQL/MySQLException.h" | ||
-#include <mysql/mysql.h> | ||
+#include <mysql.h> | ||
|
||
|
||
namespace Poco { | ||
diff --git a/Data/MySQL/include/Poco/Data/MySQL/Utility.h b/Data/MySQL/include/Poco/Data/MySQL/Utility.h | ||
index 79c13c3..4fba2c9 100644 | ||
--- a/Data/MySQL/include/Poco/Data/MySQL/Utility.h | ||
+++ b/Data/MySQL/include/Poco/Data/MySQL/Utility.h | ||
@@ -20,7 +20,7 @@ | ||
|
||
#include "Poco/Data/MySQL/MySQL.h" | ||
#include "Poco/Data/Session.h" | ||
-#include <mysql/mysql.h> | ||
+#include <mysql.h> | ||
|
||
|
||
namespace Poco { | ||
diff --git a/Data/MySQL/src/Connector.cpp b/Data/MySQL/src/Connector.cpp | ||
index b90abab..43e2432 100644 | ||
--- a/Data/MySQL/src/Connector.cpp | ||
+++ b/Data/MySQL/src/Connector.cpp | ||
@@ -16,7 +16,7 @@ | ||
#include "Poco/Data/MySQL/SessionImpl.h" | ||
#include "Poco/Data/SessionFactory.h" | ||
#include "Poco/Exception.h" | ||
-#include <mysql/mysql.h> | ||
+#include <mysql.h> | ||
|
||
|
||
namespace Poco { | ||
diff --git a/Data/MySQL/src/MySQLException.cpp b/Data/MySQL/src/MySQLException.cpp | ||
index bffdaae..d8fe137 100644 | ||
--- a/Data/MySQL/src/MySQLException.cpp | ||
+++ b/Data/MySQL/src/MySQLException.cpp | ||
@@ -18,7 +18,7 @@ | ||
|
||
|
||
#include "Poco/Data/MySQL/MySQLException.h" | ||
-#include <mysql/mysql.h> | ||
+#include <mysql.h> | ||
#include <stdio.h> | ||
|
||
|
||
diff --git a/Data/MySQL/src/StatementExecutor.cpp b/Data/MySQL/src/StatementExecutor.cpp | ||
index b7e8dbc..d1b512d 100644 | ||
--- a/Data/MySQL/src/StatementExecutor.cpp | ||
+++ b/Data/MySQL/src/StatementExecutor.cpp | ||
@@ -14,7 +14,7 @@ | ||
|
||
#include "Poco/Data/MySQL/StatementExecutor.h" | ||
#include "Poco/Format.h" | ||
-#include <mysql/mysql.h> | ||
+#include <mysql.h> | ||
|
||
|
||
namespace Poco { | ||
diff --git a/Data/MySQL/src/Utility.cpp b/Data/MySQL/src/Utility.cpp | ||
index 84e5cfc..b711901 100644 | ||
--- a/Data/MySQL/src/Utility.cpp | ||
+++ b/Data/MySQL/src/Utility.cpp | ||
@@ -15,7 +15,7 @@ | ||
|
||
|
||
#include "Poco/Data/MySQL/Utility.h" | ||
-#include <mysql/mysql.h> | ||
+#include <mysql.h> | ||
|
||
|
||
namespace Poco { | ||
diff --git a/Data/MySQL/testsuite/src/SQLExecutor.cpp b/Data/MySQL/testsuite/src/SQLExecutor.cpp | ||
index 27beb6f..1987659 100644 | ||
--- a/Data/MySQL/testsuite/src/SQLExecutor.cpp | ||
+++ b/Data/MySQL/testsuite/src/SQLExecutor.cpp | ||
@@ -29,7 +29,7 @@ | ||
#include <Winsock2.h> | ||
#endif | ||
|
||
-#include <mysql/mysql.h> | ||
+#include <mysql.h> | ||
#include <iostream> | ||
#include <limits> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- cmake/PocoMacros.cmake | ||
+++ cmake/PocoMacros.cmake | ||
@@ -40,7 +40,7 @@ if(WIN32) | ||
endforeach() | ||
endif(X64) | ||
endif() | ||
- find_program(CMAKE_MC_COMPILER mc.exe HINTS "${sdk_bindir}" "${kit_bindir}" "${kit81_bindir}" ${kit10_bindir} | ||
+ find_program(CMAKE_MC_COMPILER mc.exe windmc.exe HINTS "${sdk_bindir}" "${kit_bindir}" "${kit81_bindir}" ${kit10_bindir} | ||
DOC "path to message compiler") | ||
if(NOT CMAKE_MC_COMPILER) | ||
message(FATAL_ERROR "message compiler not found: required to build") | ||
@@ -279,7 +279,7 @@ | ||
|
||
if(MSVC) | ||
# install the targets pdb | ||
- POCO_INSTALL_PDB(${target_name}) | ||
+ # POCO_INSTALL_PDB(${target_name}) | ||
endif() | ||
|
||
endmacro() | ||
--- Foundation/CMakeLists.txt | ||
+++ Foundation/CMakeLists.txt | ||
@@ -101,7 +101,7 @@ | ||
) | ||
|
||
if(POCO_UNBUNDLED) | ||
- target_link_libraries(Foundation PUBLIC Pcre::Pcre ZLIB::ZLIB) | ||
+ target_link_libraries(Foundation PUBLIC PCRE::PCRE ZLIB::ZLIB) | ||
target_compile_definitions(Foundation PUBLIC POCO_UNBUNDLED) | ||
endif(POCO_UNBUNDLED) | ||
|
||
--- NetSSL_Win/CMakeLists.txt | ||
+++ NetSSL_Win/CMakeLists.txt | ||
@@ -21,7 +21,7 @@ | ||
DEFINE_SYMBOL NetSSL_Win_EXPORTS | ||
) | ||
|
||
-target_link_libraries(NetSSLWin PUBLIC Poco::Net Poco::Util Crypt32.lib) | ||
+target_link_libraries(NetSSLWin PUBLIC Poco::Net Poco::Util Crypt32.lib ws2_32 ) | ||
target_include_directories(NetSSLWin | ||
PUBLIC | ||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
versions: | ||
1.11.0: | ||
folder: all | ||
1.10.1: | ||
folder: all | ||
1.10.0: | ||
|