From d3168e3612d88480cf26d2e3ea846d7564f6f6cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaros=C5=82aw=20Staniek?= Date: Wed, 23 Sep 2009 13:18:14 +0000 Subject: use MATCHES to cover more debug targets svn path=/trunk/KDE/kdelibs/; revision=1027171 --- modules/FindMySQL.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/FindMySQL.cmake b/modules/FindMySQL.cmake index 78332714..39128666 100644 --- a/modules/FindMySQL.cmake +++ b/modules/FindMySQL.cmake @@ -43,14 +43,14 @@ if(WIN32) # path suffix for debug/release mode # binary_dist: mysql binary distribution # build_dist: custom build - if(CMAKE_BUILD_TYPE_TOLOWER STREQUAL "debug") + if(CMAKE_BUILD_TYPE_TOLOWER MATCHES "debug") set(binary_dist debug) set(build_dist Debug) - else(CMAKE_BUILD_TYPE_TOLOWER STREQUAL "debug") + else(CMAKE_BUILD_TYPE_TOLOWER MATCHES "debug") ADD_DEFINITIONS(-DDBUG_OFF) set(binary_dist opt) set(build_dist Release) - endif(CMAKE_BUILD_TYPE_TOLOWER STREQUAL "debug") + endif(CMAKE_BUILD_TYPE_TOLOWER MATCHES "debug") # find_library(MYSQL_LIBRARIES NAMES mysqlclient find_library(MYSQL_LIBRARIES NAMES libmysql -- cgit v1.2.1