]> git.lyx.org Git - lyx.git/blobdiff - development/cmake/modules/LyXPaths.cmake
Merge branch 'master' of git.lyx.org:lyx
[lyx.git] / development / cmake / modules / LyXPaths.cmake
index 877f5e80a23a5921a19ec5109ac5ac209f5574f8..31fcbc5dc779f0d2d85c55d3df4db8c035a7af4c 100644 (file)
@@ -67,14 +67,12 @@ set(_gnuwin32_dir ${GNUWIN32_DIR})
 set(CMAKE_INCLUDE_PATH ${CMAKE_INCLUDE_PATH} 
        ${_gnuwin32_dir}/include
        ${_zlib_path}/include
-       ${_iconv_path}/include
-       )
+       ${_iconv_path}/include)
        
 set(CMAKE_LIBRARY_PATH ${CMAKE_LIBRARY_PATH} 
        ${_gnuwin32_dir}/lib
        ${_zlib_path}/lib
-       ${_iconv_path}/lib
-       )
+       ${_iconv_path}/lib)
 
 #chek_include_files path
 set(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} ${_gnuwin32_dir}/include)
@@ -87,9 +85,6 @@ else()
 endif()
 
 
-GET_FILENAME_COMPONENT(lyx_dir_readme ${CMAKE_SOURCE_DIR}/../../README ABSOLUTE)
-GET_FILENAME_COMPONENT(TOP_SRC_DIR ${lyx_dir_readme} PATH)
-
 if(WIN32)
        set(locale_dir Resources/locale)
 else() 
@@ -102,6 +97,3 @@ set(LOCAL_DIR ${PREFIX}/${locale_dir})
 #message(" PREFIX : ${PREFIX}")
 #message(" LOCAL_DIR : ${LOCAL_DIR}")
 #message(" TOP_SRC_DIR : ${TOP_SRC_DIR}")
-
-
-