Fixed CMake files failing on FreeBSD

This commit is contained in:
Laurent Gomila committed 2011-09-14 17:56:09 +02:00
1 parent 24914157ae
commit 08749bd440
1 file changed
+3
+3
View File
@@ -4,6 +4,9 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
set(WINDOWS 1)
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set(LINUX 1)
elseif(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
# FreeBSD compile path is the same as Linux
set(LINUX 1)
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(MACOSX 1)
else()