Update CMakeLists.txt

This commit is contained in:
Stephane Bourque
2021-03-17 16:15:37 -07:00
committed by stephb9959
parent 04a61e9338
commit c7b61dfd51

View File

@@ -2,6 +2,10 @@ cmake_minimum_required(VERSION 3.5.0)
project(Poco)
if(APPLE)
set(OPENSSL_ROOT_DIR /usr/local/opt/openssl)
endif()
file(STRINGS "${PROJECT_SOURCE_DIR}/libversion" SHARED_LIBRARY_VERSION)
# Read the version information from the VERSION file
file(STRINGS "${PROJECT_SOURCE_DIR}/VERSION" PACKAGE_VERSION)