Author: kuemmel
Date: Tue May 10 20:04:49 2011
New Revision: 38692
URL: http://www.lyx.org/trac/changeset/38692

Log:
cmake: enable in-source CMakeLists.txt files

Deleted:
   lyx-devel/trunk/development/cmake/boost/
   lyx-devel/trunk/development/cmake/intl/CMakeLists.txt
   lyx-devel/trunk/development/cmake/lyx2lyx/
   lyx-devel/trunk/development/cmake/po/CMakeLists.txt
   lyx-devel/trunk/development/cmake/scripts/
   lyx-devel/trunk/development/cmake/src/
Modified:
   lyx-devel/trunk/CMakeLists.txt

Modified: lyx-devel/trunk/CMakeLists.txt
==============================================================================
--- lyx-devel/trunk/CMakeLists.txt      Tue May 10 19:44:41 2011        (r38691)
+++ lyx-devel/trunk/CMakeLists.txt      Tue May 10 20:04:49 2011        (r38692)
@@ -320,7 +320,7 @@
        endif()
        find_package(LyXGettext REQUIRED)
        include_directories(${TOP_SRC_DIR}/po)
-       add_subdirectory(${LYX_CMAKE_DIR}/po "${TOP_BINARY_DIR}/po")
+       add_subdirectory(po "${TOP_BINARY_DIR}/po")
 endif()
 
 if(LYX_EXTERNAL_LIBINTL)
@@ -328,7 +328,7 @@
        add_definitions(-DHAVE_GETTEXT) #TODO move to config.h
 else()
        if(LYX_NLS)
-               add_subdirectory(${LYX_CMAKE_DIR}/intl "${TOP_BINARY_DIR}/intl")
+               add_subdirectory(intl "${TOP_BINARY_DIR}/intl")
        else()
                # do not compile if nls disabled
        endif()
@@ -352,7 +352,7 @@
        endif()
        add_definitions(-DBOOST_USER_CONFIG="<config.h>")
        include_directories(${TOP_SRC_DIR}/boost)
-       add_subdirectory(${LYX_CMAKE_DIR}/boost "${TOP_BINARY_DIR}/boost")
+       add_subdirectory(boost "${TOP_BINARY_DIR}/boost")
 endif()
 
 
@@ -499,9 +499,9 @@
 configure_file(${LYX_CMAKE_DIR}/config.h.cmake ${TOP_BINARY_DIR}/config.h)
 
 
-add_subdirectory(${LYX_CMAKE_DIR}/src "${TOP_BINARY_DIR}/src")
-add_subdirectory(${LYX_CMAKE_DIR}/lyx2lyx "${TOP_BINARY_DIR}/lyx2lyx")
-add_subdirectory(${LYX_CMAKE_DIR}/scripts "${TOP_BINARY_DIR}/scripts")
+add_subdirectory(src "${TOP_BINARY_DIR}/src")
+add_subdirectory(lib/lyx2lyx "${TOP_BINARY_DIR}/lyx2lyx")
+add_subdirectory(lib/scripts "${TOP_BINARY_DIR}/scripts")
 
 
 if(LYX_INSTALL)

Reply via email to