Fix SYSCONFIGDIR check, Patch from Riddell

This commit is contained in:
Klaas Freitag 2012-07-20 12:33:23 +02:00
parent 2433b35727
commit 5246a6fad4

View file

@ -9,7 +9,7 @@ configure_file( ${CMAKE_SOURCE_DIR}/src/mirall/version.h.in ${CMAKE_SOURCE_DIR}/
include(GNUInstallDirs)
## stupid, we should upstream this
if("${CMAKE_INSTALL_PREFIX}" EQUAL "/usr")
if("${CMAKE_INSTALL_PREFIX}" STREQUAL "/usr")
set(CMAKE_INSTALL_SYSCONFDIR "/etc")
endif()