diff options
author | Viktor Szakats <commit@vsz.me> | 2023-12-14 03:36:09 +0000 |
---|---|---|
committer | Viktor Szakats <commit@vsz.me> | 2023-12-14 03:36:09 +0000 |
commit | 848950877fb2d66d76cb1258fc28a2b1b453a42d (patch) | |
tree | 3008889d0dbb1ce97d753a1c0929a2e4cd0ceccc /apps | |
parent | 05902e63c9b80d25f4367fb0f8f441669510eb2e (diff) | |
download | portable-848950877fb2d66d76cb1258fc28a2b1b453a42d.tar.gz portable-848950877fb2d66d76cb1258fc28a2b1b453a42d.tar.bz2 portable-848950877fb2d66d76cb1258fc28a2b1b453a42d.zip |
cmake: stop exporting compat functions
Diffstat (limited to 'apps')
-rw-r--r-- | apps/ocspcheck/CMakeLists.txt | 2 | ||||
-rw-r--r-- | apps/openssl/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/ocspcheck/CMakeLists.txt b/apps/ocspcheck/CMakeLists.txt index 41c7845..778e837 100644 --- a/apps/ocspcheck/CMakeLists.txt +++ b/apps/ocspcheck/CMakeLists.txt | |||
@@ -20,7 +20,7 @@ target_include_directories(ocspcheck | |||
20 | PUBLIC | 20 | PUBLIC |
21 | ../../include | 21 | ../../include |
22 | ${CMAKE_BINARY_DIR}/include) | 22 | ${CMAKE_BINARY_DIR}/include) |
23 | target_link_libraries(ocspcheck tls ${OPENSSL_LIBS}) | 23 | target_link_libraries(ocspcheck tls ${OPENSSL_LIBS} compat_obj tls_compat_obj) |
24 | 24 | ||
25 | if(ENABLE_LIBRESSL_INSTALL) | 25 | if(ENABLE_LIBRESSL_INSTALL) |
26 | install(TARGETS ocspcheck DESTINATION ${CMAKE_INSTALL_BINDIR}) | 26 | install(TARGETS ocspcheck DESTINATION ${CMAKE_INSTALL_BINDIR}) |
diff --git a/apps/openssl/CMakeLists.txt b/apps/openssl/CMakeLists.txt index efea217..f2dcf97 100644 --- a/apps/openssl/CMakeLists.txt +++ b/apps/openssl/CMakeLists.txt | |||
@@ -75,7 +75,7 @@ target_include_directories(openssl | |||
75 | PUBLIC | 75 | PUBLIC |
76 | ../../include | 76 | ../../include |
77 | ${CMAKE_BINARY_DIR}/include) | 77 | ${CMAKE_BINARY_DIR}/include) |
78 | target_link_libraries(openssl ${OPENSSL_LIBS}) | 78 | target_link_libraries(openssl ${OPENSSL_LIBS} compat_obj) |
79 | 79 | ||
80 | if(ENABLE_LIBRESSL_INSTALL) | 80 | if(ENABLE_LIBRESSL_INSTALL) |
81 | install(TARGETS openssl DESTINATION ${CMAKE_INSTALL_BINDIR}) | 81 | install(TARGETS openssl DESTINATION ${CMAKE_INSTALL_BINDIR}) |