summaryrefslogtreecommitdiff
path: root/win/CMakeLists.txt
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-06-06 01:07:22 +0200
committerattilamolnar <attilamolnar@hush.com>2013-06-06 01:07:22 +0200
commitd9d99cd02dadf34bfcc220734ba0c422f0acb3e6 (patch)
tree72a11fab75875b7e4f739ddd203da60e5dcbc851 /win/CMakeLists.txt
parent8a06d54076551387f83a29360478ee6605e241b6 (diff)
parente0ff94b310e9b73ac0131e9df14fb7ca2bf3a878 (diff)
Merge insp20
Diffstat (limited to 'win/CMakeLists.txt')
-rw-r--r--win/CMakeLists.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/win/CMakeLists.txt b/win/CMakeLists.txt
index 827ef1c90..ca7e9eb18 100644
--- a/win/CMakeLists.txt
+++ b/win/CMakeLists.txt
@@ -5,7 +5,7 @@ project(InspIRCd CXX)
set(CONF_PATH "conf" CACHE PATH "Configuration file path")
set(MODULE_PATH "modules" CACHE PATH "Module path")
set(DATA_PATH "data" CACHE PATH "Data path")
-set(LOG_PATH "log" CACHE PATH "Log file path")
+set(LOG_PATH "logs" CACHE PATH "Log file path")
set(EXTRA_INCLUDES "" CACHE PATH "Extra include paths")
set(EXTRA_LIBS "" CACHE PATH "Extra library paths")
@@ -74,10 +74,10 @@ file(GLOB_RECURSE EXAMPLE_CONFIGS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "${INSPIR
install(FILES ${EXAMPLE_CONFIGS} DESTINATION conf)
# Create an empty data and logs directory and install them
-file(MAKE_DIRECTORY data)
-install(DIRECTORY "data" DESTINATION .)
-file(MAKE_DIRECTORY logs)
-install(DIRECTORY "logs" DESTINATION .)
+file(MAKE_DIRECTORY ${DATA_PATH})
+install(DIRECTORY ${DATA_PATH} DESTINATION .)
+file(MAKE_DIRECTORY ${LOG_PATH})
+install(DIRECTORY ${LOG_PATH} DESTINATION .)
if(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
include(InstallRequiredSystemLibraries)