Fixed elseif statement

This commit is contained in:
Bram 2020-06-02 16:47:30 +02:00
parent f3f17032b4
commit 948348f334

View File

@ -262,7 +262,7 @@ find_package(Threads REQUIRED)
if(MSVC OR MINGW)
SET(ADD_LINK_LIBS wsock32 ws2_32)
elseif(NOT APPLE AND ${CMAKE_SYSTEM_NAME} NOT STREQUAL "FreeBSD")
elseif(NOT APPLE AND NOT ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
if(OATPP_LINK_ATOMIC)
SET(ADD_LINK_LIBS atomic)
endif()