Use package name 'LyX' on Mac OS, 'lyx' otherwise

This commit is contained in:
Kornel Benko 2012-09-21 12:48:30 +02:00
parent 6fea9d4f87
commit 6913a0c5f2

View File

@ -7,7 +7,11 @@
cmake_minimum_required(VERSION 2.6.4)
set(LYX_PROJECT lyx)
if(APPLE)
set(LYX_PROJECT LyX)
else()
set(LYX_PROJECT lyx)
endif()
set(LYX_CMAKE_DIR "development/cmake")
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/${LYX_CMAKE_DIR}/modules")