Skip to content

Commit

Permalink
Attempt to fix dependencies in add_custom_command logic.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kasper Peeters committed Sep 27, 2024
1 parent 9cb90f3 commit cf5e42e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 0 additions & 3 deletions frontend/gtkmm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cf5e42e

Please sign in to comment.