From 956a4877a9dfefdc079a34475ea8f42fff119a4e Mon Sep 17 00:00:00 2001 From: Simon Edwards Date: Wed, 29 Dec 2021 22:55:36 +0100 Subject: [PATCH] UNIX means Linux, not MacOS issue #904 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6d0e7a322..22c564dfd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}/../..")