summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2013-09-05 00:15:24 +0200
committerJeff Trawick <trawick@apache.org>2013-09-05 00:15:24 +0200
commit25780634bd996e93a38bb6dabbda5ed03d0aafd6 (patch)
tree31508866a79b31a5866e96de8156f463d1700832 /CMakeLists.txt
parentAdd r:setcookie(key, val, secure, expires) and r:getcookie(key) to the reques... (diff)
downloadapache2-25780634bd996e93a38bb6dabbda5ed03d0aafd6.tar.xz
apache2-25780634bd996e93a38bb6dabbda5ed03d0aafd6.zip
Set LONG_NAME and BIN_NAME to something reasonable for httpd.rc,
which otherwise sets the properties to "LONG_NAME" and "BIN_NAME". git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1520153 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6a2337f12d..3524c6bdb3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -569,6 +569,7 @@ ADD_DEPENDENCIES(libhttpd test_char_header)
########### HTTPD EXECUTABLES ##########
ADD_EXECUTABLE(httpd server/main.c build/win32/httpd.rc)
SET(install_targets ${install_targets} httpd)
+SET_TARGET_PROPERTIES(httpd PROPERTIES COMPILE_FLAGS "-DLONG_NAME=\"\\\"Apache HTTP Server\\\"\" -DBIN_NAME=httpd.exe")
TARGET_LINK_LIBRARIES(httpd libhttpd)
ADD_EXECUTABLE(ab support/ab.c)