Skip to content

Commit

Permalink
Merge branch 'master' of git:cadabra2
Browse files Browse the repository at this point in the history
  • Loading branch information
kpeeters committed Dec 30, 2020
2 parents 83d7ccf + 75f6bb9 commit cacbd02
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions cmake/modules/FindGLIBMM.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ if(WIN32)
else()
find_package(PkgConfig REQUIRED)
if(MACOS)
execute_process(COMMAND breq --prefix glibmm@2.64 OUTPUT_VARIABLE GLIBMM_PREFIX)
execute_process(COMMAND breq --prefix cairomm@1.14 OUTPUT_VARIABLE CAIROMM_PREFIX)
execute_process(COMMAND breq --prefix pangomm@2.42 OUTPUT_VARIABLE PANGOMM_PREFIX)
execute_process(COMMAND breq --prefix atkmm@2.28 OUTPUT_VARIABLE ATKMM_PREFIX)
execute_process(COMMAND brew --prefix glibmm@2.64 OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_VARIABLE GLIBMM_PREFIX)
execute_process(COMMAND brew --prefix cairomm@1.14 OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_VARIABLE CAIROMM_PREFIX)
execute_process(COMMAND brew --prefix pangomm@2.42 OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_VARIABLE PANGOMM_PREFIX)
execute_process(COMMAND brew --prefix atkmm@2.28 OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_VARIABLE ATKMM_PREFIX)
set( ENV{PKG_CONFIG_PATH} "${GLIBMM_PREFIX}/lib/pkgconfig:${CAIROMM_PREFIX}/lib/pkgconfig:${PANGOMM_PREFIX}/lib/pkgconfig:${ATKMM_PREFIX}/lib/pkgconfig:$ENV{PKG_CONFIG_PATH}" )
message(STATUS "Using PKG_CONFIG_PATH = $ENV{PKG_CONFIG_PATH}")
endif()
pkg_check_modules(GLIBMM3 REQUIRED glibmm-2.4)
include_directories(${GLIBMM3_INCLUDE_DIRS})
Expand Down
2 changes: 1 addition & 1 deletion cmake/version.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
set(CADABRA_VERSION_MAJOR 2)
set(CADABRA_VERSION_MINOR 3)
set(CADABRA_VERSION_PATCH 6)
set(CADABRA_VERSION_TWEAK 0)
set(CADABRA_VERSION_TWEAK 1)
set(COPYRIGHT_YEARS "2001-2020")
math(EXPR SYSTEM_BITS "${CMAKE_SIZEOF_VOID_P} * 8")
find_program(GIT git PATHS ${GIT_DIR})
Expand Down

0 comments on commit cacbd02

Please sign in to comment.