From cf5e42e5633972c9556e40331f338d559dae0036 Mon Sep 17 00:00:00 2001 From: Kasper Peeters Date: Fri, 27 Sep 2024 16:22:05 +0100 Subject: [PATCH] Attempt to fix dependencies in add_custom_command logic. --- CMakeLists.txt | 2 +- frontend/gtkmm/CMakeLists.txt | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 036d85958d..591869e6f5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -457,7 +457,7 @@ if(WIN32) add_custom_command( OUTPUT dummy2 DEPENDS dummy1 - COMMAND ${CMAKE_COMMAND} -E env bash -c "mkdir -p ${CMAKE_SOURCE_DIR}/deps && for f in `cat ${CMAKE_BINARY_DIR}/ldd_dependencies.txt`; do cp \${f} ${CMAKE_SOURCE_DIR}/deps/; done" + COMMAND ${CMAKE_COMMAND} -E env bash -c "cat ${CMAKE_BINARY_DIR}/ldd_dependencies.txt && mkdir -p ${CMAKE_SOURCE_DIR}/deps && for f in `cat ${CMAKE_BINARY_DIR}/ldd_dependencies.txt`; do cp \${f} ${CMAKE_SOURCE_DIR}/deps/; done" COMMAND touch dummy2 VERBATIM COMMENT "Copying dependencies into ${CMAKE_SOURCE_DIR}/deps" diff --git a/frontend/gtkmm/CMakeLists.txt b/frontend/gtkmm/CMakeLists.txt index 4d4b670f4c..97c6dbc908 100644 --- a/frontend/gtkmm/CMakeLists.txt +++ b/frontend/gtkmm/CMakeLists.txt @@ -164,9 +164,6 @@ if(USE_MICROTEX) endif() pkg_check_modules(CairoMM REQUIRED IMPORTED_TARGET cairomm-1.0) pkg_check_modules(PangoMM REQUIRED IMPORTED_TARGET pangomm-1.4) -# pkg_check_modules(GTKMM REQUIRED IMPORTED_TARGET gtkmm-3.0) -# pkg_check_modules(GSVMM REQUIRED IMPORTED_TARGET gtksourceviewmm-3.0) -# add_executable(microtest microtest.cc) target_link_libraries( cadabra2-gtk