summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cpp/BuildInstallSettings.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/BuildInstallSettings.cmake b/cpp/BuildInstallSettings.cmake
index b764f35436..e611a141c9 100644
--- a/cpp/BuildInstallSettings.cmake
+++ b/cpp/BuildInstallSettings.cmake
@@ -97,7 +97,7 @@ if (WIN32)
"Directory to load broker plug-in modules from")
endif (WIN32)
-if (CMAKE_SYSTEM_NAME STREQUAL Linux)
+if (UNIX)
set (QPID_COMPONENT_BROKER runtime)
set (QPID_COMPONENT_CLIENT runtime)
set (QPID_COMPONENT_COMMON runtime)
@@ -129,4 +129,4 @@ if (CMAKE_SYSTEM_NAME STREQUAL Linux)
"Directory to load client plug-in modules from")
set (QPIDD_MODULE_DIR ${QPID_INSTALL_LIBDIR}/qpid/daemon CACHE STRING
"Directory to load broker plug-in modules from")
-endif (CMAKE_SYSTEM_NAME STREQUAL Linux)
+endif (UNIX)