Skip to content

Commit

Permalink
ssl: fix generate Makefile fail
Browse files Browse the repository at this point in the history
Rename cmake target `ssl` to `essl` to avoid conflicts with openssl

Signed-off-by: Jianhui Zhao <[email protected]>
  • Loading branch information
zhaojh329 committed Mar 8, 2023
1 parent 0f1ff3f commit 8dfe62c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ set_target_properties(network PROPERTIES OUTPUT_NAME network PREFIX "")
if (ECO_SSL_SUPPORT)
add_subdirectory(ssl)
if (SSL_SUPPORT)
add_library(ssl MODULE ssl.c)
target_link_libraries(ssl PRIVATE ${SSL_TARGET})
set_target_properties(ssl PROPERTIES OUTPUT_NAME ssl PREFIX "")
add_library(essl MODULE ssl.c)
target_link_libraries(essl PRIVATE ${SSL_TARGET})
set_target_properties(essl PROPERTIES OUTPUT_NAME ssl PREFIX "")

install(
TARGETS ssl
TARGETS essl
DESTINATION ${LUA_INSTALL_PREFIX}/eco/core
)

Expand Down

0 comments on commit 8dfe62c

Please sign in to comment.