Skip to content

Commit c7515f4

Browse files
committed
Fix macOS compilation
1 parent 59ac2db commit c7515f4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

vendor/cryptopp/premake5.lua

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ project "cryptopp"
33
kind "StaticLib"
44
targetname "cryptopp"
55

6-
pchheader "pch.h"
7-
pchsource "pch.cpp"
8-
96
vpaths {
107
["Headers/*"] = "**.h",
118
["Sources"] = "**.cpp",
@@ -18,7 +15,6 @@ project "cryptopp"
1815
"CRYPTOPP_DISABLE_AESNI",
1916
"CRYPTOPP_DISABLE_SSE4",
2017
"CRYPTOPP_DISABLE_SSSE3",
21-
"USE_PRECOMPILED_HEADERS",
2218
}
2319

2420
files {
@@ -209,7 +205,7 @@ project "cryptopp"
209205
flags { "NoPCH" }
210206

211207
filter "system:macosx"
212-
defines { "CRYPTOPP_DISABLE_ASM" }
208+
defines { "CRYPTOPP_DISABLE_MIXED_ASM" }
213209

214210
filter { "platforms:arm*" }
215211
defines { "CRYPTOPP_DISABLE_ASM" }

0 commit comments

Comments
 (0)