diff options
author | Adam <Adam@anope.org> | 2013-07-26 12:57:36 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-07-26 12:57:36 -0400 |
commit | f0f43cf4264c68d638cd5920877d088c6c278435 (patch) | |
tree | 0e6a607639f61ff8bef6d51a6a137ea0f93329a1 /cmake/Anope.cmake | |
parent | 3dc64bac4d436ba27683270b88c0cc5bfa346acc (diff) |
Fix build on late versions of cmake 2.4
Diffstat (limited to 'cmake/Anope.cmake')
-rw-r--r-- | cmake/Anope.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Anope.cmake b/cmake/Anope.cmake index b4eadf279..587e32980 100644 --- a/cmake/Anope.cmake +++ b/cmake/Anope.cmake @@ -208,7 +208,7 @@ macro(read_from_file FILE REGEX STRINGS) endif(REGEX STREQUAL "") else(CMAKE26_OR_BETTER) # For CMake 2.4.x, we need to do this manually, firstly we read the file in - execute_process(COMMAND ${CMAKE_COMMAND} -DFILE:STRING=${FILE} -P ${Anope_SOURCE_DIR}/ReadFile.cmake ERROR_VARIABLE ALL_STRINGS) + execute_process(COMMAND ${CMAKE_COMMAND} -DFILE:STRING=${FILE} -P ${Anope_SOURCE_DIR}/cmake/ReadFile.cmake ERROR_VARIABLE ALL_STRINGS) # Next we replace all newlines with semicolons string(REGEX REPLACE "\n" ";" ALL_STRINGS ${ALL_STRINGS}) if(REGEX STREQUAL "") |