# where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/modules")
+if(NOT GROUP_CODE)
+ #set(GROUP_CODE "The Golden Code")
+ set(GROUP_CODE flat)
+endif(NOT GROUP_CODE)
+
include(LyXPaths)
include(LyXMacros)
+include(ProjectSourceGroup)
if(release)
set(CMAKE_BUILD_TYPE Release)
set(aspell)
message("")
-if(nls)
+if(nls OR all)
add_definitions(-DENABLE_NLS=1)
- message("----- Building with ENABLE_NLS and HAVE_ICONV")
-endif(nls)
+ message("----- Building with ENABLE_NLS")
+else(nls OR all)
+ message("----- No nls, to enable use -Dnls=1")
+endif(nls OR all)
set(nls)
if(ASPELL_FOUND)
add_definitions(-DUSE_ASPELL=1)