platform: allow win32 to pass platform checks
This commit is contained in:
parent
c640c55181
commit
86822e7f6b
@ -8,6 +8,7 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
|
|||||||
set(LINUX 1)
|
set(LINUX 1)
|
||||||
elseif (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
|
elseif (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
|
||||||
set(FREEBSD 1)
|
set(FREEBSD 1)
|
||||||
|
elseif (WIN32)
|
||||||
else()
|
else()
|
||||||
message (FATAL_ERROR "unknown platform")
|
message (FATAL_ERROR "unknown platform")
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user