mirror of https://github.com/AxioDL/metaforce.git
Windows fixes
This commit is contained in:
parent
4b53046a51
commit
a01aa30e76
|
@ -26,10 +26,10 @@ option(URDE_AVX2 "Enable AVX2 flags." Off)
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
if(URDE_AVX2)
|
if(URDE_AVX2)
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /arch:AVX2 -D__SSE4_1__=1")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /arch:AVX2 -D__SSE4_1__=1")
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /arch:SSE2 -D__SSE4_1__=1")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /arch:AVX2 -D__SSE4_1__=1")
|
||||||
elseif(URDE_AVX)
|
elseif(URDE_AVX)
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /arch:AVX -D__SSE4_1__=1")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /arch:AVX -D__SSE4_1__=1")
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /arch:SSE2 -D__SSE4_1__=1")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /arch:AVX -D__SSE4_1__=1")
|
||||||
elseif(URDE_SSE41)
|
elseif(URDE_SSE41)
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D__SSE4_1__=1")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D__SSE4_1__=1")
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__SSE4_1__=1")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__SSE4_1__=1")
|
||||||
|
|
|
@ -165,7 +165,7 @@ int wmain(int argc, const boo::SystemChar** argv)
|
||||||
int main(int argc, const boo::SystemChar** argv)
|
int main(int argc, const boo::SystemChar** argv)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
if (argc > 1 && !strcmp(argv[1], "--dlpackage"))
|
if (argc > 1 && !hecl::StrCmp(argv[1], _S("--dlpackage")))
|
||||||
{
|
{
|
||||||
printf("%s\n", URDE_DLPACKAGE);
|
printf("%s\n", URDE_DLPACKAGE);
|
||||||
return 100;
|
return 100;
|
||||||
|
|
2
hecl-gui
2
hecl-gui
|
@ -1 +1 @@
|
||||||
Subproject commit 467a3996abbb56672c413cddf1c07f8e20f9c9be
|
Subproject commit a389cbcb01369cd2e3cb83eb5e0027478332275a
|
2
specter
2
specter
|
@ -1 +1 @@
|
||||||
Subproject commit f5049df11e37fafadbccde5c946fa07377ed375a
|
Subproject commit ef0bd9549b61e0d7f1d5d2bf0a5f83268cebbba7
|
Loading…
Reference in New Issue