diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-06-06 01:07:22 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-06-06 01:07:22 +0200 |
commit | d9d99cd02dadf34bfcc220734ba0c422f0acb3e6 (patch) | |
tree | 72a11fab75875b7e4f739ddd203da60e5dcbc851 /win/CMakeLists.txt | |
parent | 8a06d54076551387f83a29360478ee6605e241b6 (diff) | |
parent | e0ff94b310e9b73ac0131e9df14fb7ca2bf3a878 (diff) |
Merge insp20
Diffstat (limited to 'win/CMakeLists.txt')
-rw-r--r-- | win/CMakeLists.txt | 10 |
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) |