diff options
Diffstat (limited to 'app/libs/cmake')
-rw-r--r-- | app/libs/cmake/FindJPEG.cmake | 9 | ||||
-rw-r--r-- | app/libs/cmake/FindOpenSSL.cmake | 12 | ||||
-rw-r--r-- | app/libs/cmake/FindPNG.cmake | 1 |
3 files changed, 22 insertions, 0 deletions
diff --git a/app/libs/cmake/FindJPEG.cmake b/app/libs/cmake/FindJPEG.cmake new file mode 100644 index 0000000..b3d7778 --- /dev/null +++ b/app/libs/cmake/FindJPEG.cmake @@ -0,0 +1,9 @@ + +set(JPEG_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/libs/libjpeg-turbo ${CMAKE_BINARY_DIR}/libjpeg-turbo) +set(JPEG_LIBRARIES jpeg) + +find_package_handle_standard_args(JPEG "Could NOT find JPEG" + JPEG_LIBRARIES + JPEG_INCLUDE_DIR + ) + diff --git a/app/libs/cmake/FindOpenSSL.cmake b/app/libs/cmake/FindOpenSSL.cmake new file mode 100644 index 0000000..c9ea679 --- /dev/null +++ b/app/libs/cmake/FindOpenSSL.cmake @@ -0,0 +1,12 @@ + +set(OPENSSL_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/libs/openssl/include) +set(OPENSSL_SSL_LIBRARY libssl) +set(OPENSSL_CRYPTO_LIBRARY libcrypto) + +set(OPENSSL_LIBRARIES ${OPENSSL_SSL_LIBRARY} ${OPENSSL_CRYPTO_LIBRARY}) + +find_package_handle_standard_args(OpenSSL "Could NOT find OpenSSL" + OPENSSL_LIBRARIES + OPENSSL_INCLUDE_DIR + ) + diff --git a/app/libs/cmake/FindPNG.cmake b/app/libs/cmake/FindPNG.cmake new file mode 100644 index 0000000..42900e8 --- /dev/null +++ b/app/libs/cmake/FindPNG.cmake @@ -0,0 +1 @@ +message(STATUS PNG) |