diff options
author | Brent Cook <busterb@gmail.com> | 2019-07-11 21:15:39 -0500 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2019-07-11 21:15:39 -0500 |
commit | 9e5a54ac9221c906c13a34722811884c0179adc1 (patch) | |
tree | f87f88059b224128e38a676e2d3b099c9a53b64f | |
parent | e7446637dd2c1d3a33ad45474c6fb8658f7a7228 (diff) | |
parent | 389145ed4264b89fc620ac22b0f3de546e44eafd (diff) | |
download | portable-9e5a54ac9221c906c13a34722811884c0179adc1.tar.gz portable-9e5a54ac9221c906c13a34722811884c0179adc1.tar.bz2 portable-9e5a54ac9221c906c13a34722811884c0179adc1.zip |
Land #540, fix pkg-config
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9537407..91a2703 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -343,7 +343,9 @@ if(NOT MSVC) | |||
343 | set(exec_prefix \${prefix}) | 343 | set(exec_prefix \${prefix}) |
344 | set(libdir \${exec_prefix}/${CMAKE_INSTALL_LIBDIR}) | 344 | set(libdir \${exec_prefix}/${CMAKE_INSTALL_LIBDIR}) |
345 | set(includedir \${prefix}/include) | 345 | set(includedir \${prefix}/include) |
346 | string(REGEX REPLACE ";" " -l" PLATFORM_LDADD ";${PLATFORM_LIBS}") | 346 | if(PLATFORM_LIBS) |
347 | string(REGEX REPLACE ";" " -l" PLATFORM_LDADD ";${PLATFORM_LIBS}") | ||
348 | endif() | ||
347 | file(STRINGS "VERSION" VERSION LIMIT_COUNT 1) | 349 | file(STRINGS "VERSION" VERSION LIMIT_COUNT 1) |
348 | file(GLOB OPENSSL_PKGCONFIGS "*.pc.in") | 350 | file(GLOB OPENSSL_PKGCONFIGS "*.pc.in") |
349 | foreach(file ${OPENSSL_PKGCONFIGS}) | 351 | foreach(file ${OPENSSL_PKGCONFIGS}) |