]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/CMakeLists.txt
Handle properly insets which have the PassThru property
[lyx.git] / src / tex2lyx / CMakeLists.txt
index 2053e303909f828c497d0a81b17e19f66a625f17..ee36c5fda1daa941ec584d0f8c3220f11db91abe 100644 (file)
@@ -5,7 +5,6 @@
 # Copyright (c) 2008-2011 Kornel Benko, <Kornel.Benko@berlin.de>
 #
 
-set(_tex2lyx tex2lyx${PROGRAM_SUFFIX})
 project(${_tex2lyx})
 
 # There is no header file lengthcommon.h
@@ -33,7 +32,7 @@ include_directories(BEFORE
 add_definitions(-DTEX2LYX)
 
 if(WIN32)
-       set(FILE_RC ${TOP_SRC_DIR}/development/cmake/lyx.rc)
+       set(FILE_RC ${TOP_CMAKE_PATH}/lyx.rc)
        message(STATUS "Using icon defined in resource file: ${FILE_RC}")
 endif()
 
@@ -44,6 +43,7 @@ else()
        lyx_const_touched_files(_allinone_linked  LINKED_sources)
        add_executable(${_tex2lyx} ${_allinone_files} ${_allinone_linked_files} ${FILE_RC})
 endif()
+set_target_properties(${_tex2lyx} PROPERTIES FOLDER "applications/TeX2LyX")
 
 target_link_libraries(${_tex2lyx}
        support