Diff of /CMakeLists.txt [2b6dba] .. [f9fc67] Maximize Restore

  Switch to side-by-side view

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -60,7 +60,9 @@
 IF (EXISTS ${PROJECT_SOURCE_DIR}/.hg)
   IF (UPDATE_CHANGELOG)
    FIND_PROGRAM(_hg hg)
-   EXECUTE_PROCESS(COMMAND ${_hg} log --follow --style=changelog OUTPUT_FILE ${PROJECT_SOURCE_DIR}/ChangeLog)
+   EXECUTE_PROCESS(COMMAND ${_hg} log --follow --style=changelog
+   WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}"
+   OUTPUT_FILE ${PROJECT_SOURCE_DIR}/ChangeLog)
    MESSAGE("-- New ChangeLog generated")
   ENDIF (UPDATE_CHANGELOG)
 ENDIF (EXISTS ${PROJECT_SOURCE_DIR}/.hg)