UNIX means Linux, not MacOS

issue #904
This commit is contained in:
Simon Edwards 2021-12-29 22:55:36 +01:00
parent f5665b6a00
commit 956a4877a9

View File

@ -254,7 +254,7 @@ if (WIN32)
endif()
if (UNIX)
if (LINUX)
# Set the RPATH in the binary to a relative one to allow it to find our Qt
# libraries regardless of where the base installation directory is.
file(RELATIVE_PATH QT_LIBRARY_REL_PATH "${CMAKE_BINARY_DIR}/Release" "${QT_CMAKE_HOME_DIR}/../..")