Skip to content

Commit

Permalink
fix libressl build error with Visual Studio 2022
Browse files Browse the repository at this point in the history
  • Loading branch information
xyz1001 committed Dec 14, 2022
1 parent 0eee6a7 commit 59f4b33
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recipes/libressl/all/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ project(cmake_wrapper)
include(conanbuildinfo.cmake)
conan_basic_setup()

if(MSVC)
add_definitions(/D_CRT_SUPPRESS_RESTRICT)
endif()
add_subdirectory("source_subfolder")

0 comments on commit 59f4b33

Please sign in to comment.