Skip to content

Commit

Permalink
Fix macOS compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
botder committed Jul 5, 2023
1 parent 59ac2db commit c7515f4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions vendor/cryptopp/premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ project "cryptopp"
kind "StaticLib"
targetname "cryptopp"

pchheader "pch.h"
pchsource "pch.cpp"

vpaths {
["Headers/*"] = "**.h",
["Sources"] = "**.cpp",
Expand All @@ -18,7 +15,6 @@ project "cryptopp"
"CRYPTOPP_DISABLE_AESNI",
"CRYPTOPP_DISABLE_SSE4",
"CRYPTOPP_DISABLE_SSSE3",
"USE_PRECOMPILED_HEADERS",
}

files {
Expand Down Expand Up @@ -209,7 +205,7 @@ project "cryptopp"
flags { "NoPCH" }

filter "system:macosx"
defines { "CRYPTOPP_DISABLE_ASM" }
defines { "CRYPTOPP_DISABLE_MIXED_ASM" }

filter { "platforms:arm*" }
defines { "CRYPTOPP_DISABLE_ASM" }
Expand Down

0 comments on commit c7515f4

Please sign in to comment.