aboutsummaryrefslogtreecommitdiff
path: root/deskutils/ausweisapp2/files/patch-cmake_Libraries.cmake
blob: 31013b98049cb72a460d1006c73421b1304241bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- cmake/Libraries.cmake.orig	2024-04-10 11:44:19 UTC
+++ cmake/Libraries.cmake
@@ -147,12 +147,12 @@ if(QT_COMPONENTS)
 	find_package(${Qt} ${MIN_QT_VERSION} COMPONENTS ${QT_COMPONENTS} REQUIRED)
 endif()
 
-if(LINUX OR BSD)
-	try_run(testResult compileResult "${CMAKE_BINARY_DIR}" "${CMAKE_DIR}/tests/openssl.cpp"
-		CMAKE_FLAGS INSTALL_RPATH_USE_LINK_PATH:BOOL=ON
-		LINK_LIBRARIES ${Qt}::Network OpenSSL::Crypto OpenSSL::SSL
-		OUTPUT_VARIABLE runResult)
-	if(NOT testResult EQUAL 0)
-		message(FATAL_ERROR "Your OpenSSL library looks incompatible: ${testResult}\n${runResult}")
-	endif()
-endif()
+#if(LINUX OR BSD)
+#	try_run(testResult compileResult "${CMAKE_BINARY_DIR}" "${CMAKE_DIR}/tests/openssl.cpp"
+#		CMAKE_FLAGS INSTALL_RPATH_USE_LINK_PATH:BOOL=ON
+#		LINK_LIBRARIES ${Qt}::Network OpenSSL::Crypto OpenSSL::SSL
+#		OUTPUT_VARIABLE runResult)
+#	if(NOT testResult EQUAL 0)
+#		message(FATAL_ERROR "Your OpenSSL library looks incompatible: ${testResult}\n${runResult}")
+#	endif()
+#endif()