${TOP_SRC_DIR}/src/support/minizip
${ZLIB_INCLUDE_DIR})
-add_definitions(-DTEX2LYX)
-
-if(WIN32)
+if(WIN32 AND NOT MINGW)
set(FILE_RC ${TOP_CMAKE_PATH}/lyx.rc)
message(STATUS "Using icon defined in resource file: ${FILE_RC}")
endif()
add_subdirectory(test)
-if(LYX_BUNDLE)
- install(TARGETS ${_tex2lyx}
- RUNTIME DESTINATION bin
- BUNDLE DESTINATION .)
-else()
- install(TARGETS ${_tex2lyx} DESTINATION bin)
-endif()
+install(TARGETS ${_tex2lyx} DESTINATION ${LYX_UTILITIES_INSTALL_PATH})