Skip to content
Snippets Groups Projects
Commit 5613fd8a authored by Mohcine Chraibi's avatar Mohcine Chraibi
Browse files

add install path for brew

parent 3e347935
No related branches found
No related tags found
1 merge request!38Cmake subprojects
Pipeline #14301 failed
......@@ -186,6 +186,7 @@ if (APPLE)
execute_process(COMMAND brew --prefix RESULT_VARIABLE DETECT_BREW OUTPUT_VARIABLE BREW_PREFIX ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
if (${DETECT_BREW} EQUAL 0)
link_directories(${BREW_PREFIX}/lib)
set (CMAKE_INSTALL_PREFIX "/usr/local/Cellar")
message(STATUS "Brew detected: " ${SPACES} "${BREW_PREFIX}")
endif ()
endif ()
......@@ -778,7 +779,7 @@ endif()
IF(UNIX)
SET(CPACK_GENERATOR "DEB")
SET(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
SET( CPACK_DEBIAN_PACKAGE_HOMEPAGE "http://jupedsim.org")
SET( CPACK_DEBIAN_PACKAGE_HOMEPAGE "https://jupedsim.org")
SET(CPACK_DEBIAN_PACKAGE_SUGGESTS, "jpsvis, jpsreport, jpseditor")
SET(CPACK_DEBIAN_PACKAGE_PRIORITY "optional")
SET(CPACK_DEBIAN_PACKAGE_SECTION "science")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment