include(ConfigureChecks.cmake)
configure_file(configCompiler.h.cmake ${CMAKE_BINARY_DIR}/configCompiler.h)
endif()
-find_package(MyThesLIB)
-if(MYTHESLIB_FOUND)
- # Variables in config.h will be set correctly with configure_file()
- set(HAVE_LIBMYTHES 1)
- set(MYTHES_H_LOCATION 1)
-else()
- find_package(AiksaurusLIB)
- if(AIKSAURUSLIB_FOUND)
- # Variables in config.h will be set correctly with configure_file()
- set(HAVE_LIBAIKSAURUS 1)
- set(AIKSAURUS_H_LOCATION 1)
- endif()
-endif()
+
configure_file(config.h.cmake ${CMAKE_BINARY_DIR}/config.h)
find_package(ICONV REQUIRED)
#cmakedefine USE_MACOSX_PACKAGING 1
#cmakedefine PATH_MAX ${PATH_MAX}
-#cmakedefine HAVE_LIBMYTHES 1
-#cmakedefine MYTHES_H_LOCATION <${MYTHES_H}>
-
-#cmakedefine HAVE_LIBAIKSAURUS 1
-#cmakedefine AIKSAURUS_H_LOCATION <${AIKSAURUS_H}>
-
#endif
target_link_libraries(${_lyx} ole32)
endif()
-if (MYTHESLIB_LIBRARY)
- target_link_libraries(${_lyx} ${MYTHESLIB_LIBRARY})
-else()
- if (AIKSAURUSLIB_LIBRARY)
- target_link_libraries(${_lyx} ${AIKSAURUSLIB_LIBRARY})
- endif()
-endif()
-
project_source_group("${GROUP_CODE}" lyx_sources lyx_headers)
install(TARGETS ${_lyx} DESTINATION bin)