From 6e1e3b797c267e0a69b823073f6280695f1a1838 Mon Sep 17 00:00:00 2001 From: Pieter van der Kloet Date: Mon, 28 Mar 2011 20:25:55 +0200 Subject: [PATCH] Fixed a bug in the CMake file that prevented the plugins.cfg from being copied on Linux. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 957fc1b8a..e5b2e2176 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -294,7 +294,7 @@ if (WIN32) configure_file(${OpenMW_SOURCE_DIR}/files/plugins.cfg.win32 "${OpenMW_BINARY_DIR}/plugins.cfg" COPYONLY) endif (WIN32) -if (LINUX) +if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") configure_file(${OpenMW_SOURCE_DIR}/files/plugins.cfg.linux "${OpenMW_BINARY_DIR}/plugins.cfg") endif (LINUX)