Skip to content

Commit

Permalink
fix(cmake): remove print statements, fix include check
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Gusev committed Oct 19, 2022
1 parent e144311 commit 1731c9b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -879,12 +879,8 @@ if ((CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX) AND NOT LWS_WITHOUT_TE
list(APPEND LIB_LIST_AT_END -lpthread)
endif()
endif()
message(wtffffffff)

if (COMPILER_IS_CLANG)

message(clanggg)

# otherwise osx blows a bunch of openssl deprecated api errors
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-deprecated-declarations -Wno-reserved-identifier -Wno-documentation -Wno-reserved-macro-identifier -Wno-everything" )

Expand Down
1 change: 1 addition & 0 deletions lib/tls/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ if (LWS_WITH_SSL)
if (NOT LWS_WITH_MBEDTLS)
# older (0.98) Openssl lacks this
set(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} ${OPENSSL_INCLUDE_DIRS} PARENT_SCOPE)
set(CMAKE_REQUIRED_INCLUDES ${OPENSSL_INCLUDE_DIRS})
check_include_file(openssl/ecdh.h LWS_HAVE_OPENSSL_ECDH_H)

if (LWS_SSL_SERVER_WITH_ECDH_CERT AND NOT LWS_HAVE_OPENSSL_ECDH_H)
Expand Down

0 comments on commit 1731c9b

Please sign in to comment.