From df7590c167ebad5e2c2e586b0ab4a693bf647d7e Mon Sep 17 00:00:00 2001 From: Markus Makela Date: Sat, 13 Sep 2014 15:04:10 +0300 Subject: [PATCH] Fixed INSTALL_SYSTEM_FILES failing if it was set to some other false value than 'N' --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f05c1e2e8..336727757 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -78,7 +78,7 @@ endif(BUILD_RABBITMQ) file(GLOB DOCS Documentation/*.pdf) -if( NOT ( (DEFINED INSTALL_SYSTEM_FILES) AND ( ${INSTALL_SYSTEM_FILES} MATCHES "N" ) ) ) +if( NOT ( (DEFINED INSTALL_SYSTEM_FILES) AND ( NOT ( INSTALL_SYSTEM_FILES ) ) ) ) install(FILES maxscale.conf DESTINATION /etc/ld.so.conf.d) install(FILES etc/init.d/maxscale DESTINATION /etc/init.d) message(STATUS "Installing maxscale.conf to: /etc/ld.so.conf.d")