summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci/configure_macos_common.cmake
blob: 3d09779a6cc96526e0db9ec0ee40ecc8821fa899 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Our CI machines do not consistently have Java installed, so a build may
# detect that Java is available and working, but a test machine then not have a
# working Java installed. To work around this, just act as if Java is not
# available on any CI machine.
set(Java_JAVA_EXECUTABLE "" CACHE FILEPATH "")
set(Java_JAVAC_EXECUTABLE "" CACHE FILEPATH "")
set(Java_JAR_EXECUTABLE "" CACHE FILEPATH "")

# Qt binaries get placed inside the source directory, which causes them to not
# be included in the install-time rpath, but we still want them in the
# build-time rpath. CMake sets CMAKE_BUILD_WITH_INSTALL_RPATH to ON by default,
# so set it to OFF.
set(CMAKE_BUILD_WITH_INSTALL_RPATH OFF CACHE BOOL "")

set(BUILD_QtDialog ON CACHE BOOL "")