File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ elseif(CMAKE_C_COMPILER_ID MATCHES "GNU")
118118 set (GCC 1)
119119endif ()
120120
121- if (UNIX AND NOT APPLE )
121+ if (NOT WIN32 AND NOT APPLE )
122122 include (GNUInstallDirs)
123123elseif (NOT DEFINED CMAKE_INSTALL_LIBDIR)
124124 set (CMAKE_INSTALL_LIBDIR "lib" )
@@ -737,7 +737,7 @@ if(FIPS)
737737 message (FATAL_ERROR "Building AWS-LC for FIPS requires Go and Perl" )
738738 endif ()
739739
740- if (NOT BUILD_SHARED_LIBS AND NOT (UNIX AND NOT APPLE ))
740+ if (NOT BUILD_SHARED_LIBS AND NOT (NOT WIN32 AND NOT APPLE ))
741741 message (FATAL_ERROR "Static FIPS build of AWS-LC is suported only on Linux" )
742742 endif ()
743743
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ function(msbuild_aarch64_asm)
4444endfunction ()
4545
4646if (NOT OPENSSL_NO_ASM)
47- if (UNIX )
47+ if (NOT WIN32 )
4848 if (ARCH STREQUAL "aarch64" )
4949 # The "armx" Perl scripts look for "64" in the style argument
5050 # in order to decide whether to generate 32- or 64-bit asm.
@@ -186,7 +186,7 @@ else()
186186 set (ASSEMBLY_SOURCE ${GENERATE_CODE_ROOT} /ios-arm/crypto/)
187187 elseif (APPLE )
188188 set (ASSEMBLY_SOURCE ${GENERATE_CODE_ROOT} /mac-${ARCH} /crypto/)
189- elseif (UNIX )
189+ elseif (NOT WIN32 )
190190 if (${ARCH} STREQUAL "generic" )
191191 message (STATUS "Detected generic linux platform. No assembly files will be included." )
192192 else ()
You can’t perform that action at this time.
0 commit comments