[asterisk-scf-commits] asterisk-scf/release/cmake.git branch "master" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Thu May 5 13:33:37 CDT 2011
branch "master" has been updated
via c4c4b18e8ed2fa8747d0ee8bacdc5122f04d3165 (commit)
from b94c27f58b914d64464ed73b6f1763c87790b95e (commit)
Summary of changes:
AsteriskSCF.cmake | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit c4c4b18e8ed2fa8747d0ee8bacdc5122f04d3165
Author: David M. Lee <dlee at digium.com>
Date: Thu May 5 13:31:01 2011 -0500
CMAKE_CURRENT_LIST_DIR -> CMAKE_CURRENT_SOURCE_DIR
CMAKE_CURRENT_LIST_DIR is only supported in cmake-2.8.3 or newer.
CMAKE_CURRENT_SOURCE_DIR seems to have the same value for our scripts,
and is supported in older versions of CMake.
diff --git a/AsteriskSCF.cmake b/AsteriskSCF.cmake
index fd8f140..edd9277 100644
--- a/AsteriskSCF.cmake
+++ b/AsteriskSCF.cmake
@@ -272,7 +272,7 @@ function(asterisk_scf_project NAME ICE_VERSION)
# this is a sub-project, so just record the name and
# move on
set(ASTERISK_SCF_PROJECT "${NAME}" PARENT_SCOPE)
- set(ASTERISK_SCF_PROJECT_DIR "${CMAKE_CURRENT_LIST_DIR}" PARENT_SCOPE)
+ set(ASTERISK_SCF_PROJECT_DIR "${CMAKE_CURRENT_SOURCE_DIR}" PARENT_SCOPE)
return()
else()
set(ASTERISK_SCF_PROJECT "MASTER" PARENT_SCOPE)
-----------------------------------------------------------------------
--
asterisk-scf/release/cmake.git
More information about the asterisk-scf-commits
mailing list