Skip to content

Commit

Permalink
Remove tinyxml2 external dependency, fix installation logic for AppIm…
Browse files Browse the repository at this point in the history
…age.
  • Loading branch information
Kasper Peeters committed Apr 11, 2024
1 parent 2e1907d commit 052833f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/gtkmm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ if(USE_MICROTEX)
${PROJECT_SOURCE_DIR}/../../libs/microtex/src/samples
)
find_package(Fontconfig REQUIRED)
pkg_check_modules(tinyxml2 REQUIRED IMPORTED_TARGET tinyxml2)
# pkg_check_modules(tinyxml2 REQUIRED IMPORTED_TARGET tinyxml2)
endif()
pkg_check_modules(GTKMM REQUIRED IMPORTED_TARGET gtkmm-3.0)
# pkg_check_modules(GSVMM REQUIRED IMPORTED_TARGET gtksourceviewmm-3.0)
Expand Down Expand Up @@ -242,6 +242,6 @@ endif()
if(USE_MICROTEX)
install(DIRECTORY ${PROJECT_SOURCE_DIR}/../../libs/microtex/res/ DESTINATION ${INSTALL_MICROTEX_DIR})
install(FILES ${PROJECT_SOURCE_DIR}/science.cadabra.cadabra2-gtk.appdata.xml DESTINATION ${CMAKE_INSTALL_PREFIX}/share/metainfo/)
install(CODE "execute_process(COMMAND touch $ENV{DESTDIR}${INSTALL_MICROTEX_DIR}/.clatexmath-res_root)")
install(CODE "execute_process(COMMAND touch \$ENV{DESTDIR}${INSTALL_MICROTEX_DIR}/.clatexmath-res_root)")
endif()

0 comments on commit 052833f

Please sign in to comment.