mirror of
https://github.com/alexbatalov/fallout1-ce.git
synced 2025-12-19 18:06:12 -05:00
Fix CMake conditional to allow FreeBSD build (#74)
This commit is contained in:
@@ -335,7 +335,7 @@ if(APPLE)
|
||||
set(MACOSX_BUNDLE_BUNDLE_VERSION "1.0.0")
|
||||
endif()
|
||||
|
||||
if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||
if((NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux") AND (NOT ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD"))
|
||||
add_subdirectory("third_party/sdl2")
|
||||
else()
|
||||
find_package(SDL2)
|
||||
|
||||
Reference in New Issue
Block a user