mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-06-16 09:53:45 +08:00
CMake build system: Fix STREQUAL comparisons and set /Wall for MSVC
This commit is contained in:
@@ -4,7 +4,7 @@ project(lwip C)
|
||||
|
||||
set (BUILD_SHARED_LIBS ON)
|
||||
|
||||
if (NOT CMAKE_SYSTEM_NAME STREQUAL Linux AND NOT CMAKE_SYSTEM_NAME STREQUAL GNU)
|
||||
if (NOT CMAKE_SYSTEM_NAME STREQUAL "Linux" AND NOT CMAKE_SYSTEM_NAME STREQUAL "GNU")
|
||||
message(FATAL_ERROR "Lwip shared library is only working on Linux or the Hurd")
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user