From 91fa1471464714af22d93b409eed9c35b06023ff Mon Sep 17 00:00:00 2001 From: Pieter van der Kloet Date: Tue, 29 Mar 2011 01:31:42 +0200 Subject: [PATCH] Modified CMake to include the launcher directory --- CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 49a4b9eccc..5a18751aad 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -294,10 +294,10 @@ if (WIN32) configure_file(${OpenMW_SOURCE_DIR}/files/plugins.cfg.win32 "${OpenMW_BINARY_DIR}/plugins.cfg" COPYONLY) endif (WIN32) -if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") +if (LINUX) configure_file(${OpenMW_SOURCE_DIR}/files/plugins.cfg.linux "${OpenMW_BINARY_DIR}/plugins.cfg") -endif() +endif (LINUX) if (APPLE) configure_file(${OpenMW_SOURCE_DIR}/files/plugins.cfg.mac "${OpenMW_BINARY_DIR}/plugins.cfg") @@ -394,6 +394,8 @@ if (BUILD_ESMTOOL) add_subdirectory( apps/esmtool ) endif() +add_subdirectory( apps/launcher ) + if (WIN32) if (MSVC) if (USE_DEBUG_CONSOLE)