]> git.lyx.org Git - lyx.git/blobdiff - development/cmake/Install.cmake
server_monitor.h must be included last for msvc sake.
[lyx.git] / development / cmake / Install.cmake
index 4d3ea60b21eb28c638f7afd79464884a1ec08c36..908ecd256530956dce4c59bf3ae621ee4f730973 100755 (executable)
@@ -18,12 +18,9 @@ macro(lyx_install _parent_src_dir _gl_dir _file_type)
     foreach(_glob_dir ${ARGN})
       file(GLOB _dir_list ${_parent_src_dir}/${_dir}/${_glob_dir})
       if(NOT _dir_list)
-       if(_glob_dir STREQUAL ".")
+        if(_glob_dir STREQUAL ".")
           set(_dir_list ${_parent_src_dir}/${_dir}/.)
-       endif()
-      endif() 
-      if(_glob_dir STREQUAL ".")
-        set(_dir_list ${_parent_src_dir}/${_dir}/.)
+        endif()
       endif()
       #message(STATUS "${_dir}/${_glob_dir} -> ${_dir_list} ")
       foreach(_current_dir ${_dir_list})
@@ -81,5 +78,3 @@ lyx_install(${TOP_SRC_DIR}/lib tex          *      .)
 lyx_install(${TOP_SRC_DIR}/lib ui           *      .)
 lyx_install(${TOP_SRC_DIR}/lib .            *      .)
 
-install(PROGRAMS ${TOP_SRC_DIR}/lib/lyx2lyx/lyx2lyx DESTINATION lyx2lyx)
-