diff --git a/CMakeLists.txt b/CMakeLists.txt index b52d0c2..45fb995 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)