[asterisk-scf-commits] asterisk-scf/release/ice-util-cpp.git branch "master" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Tue Apr 10 11:31:39 CDT 2012
branch "master" has been updated
via ce0acf68279442b649f27b4be6ef1ce537f02b54 (commit)
from 27ee5eaa46137735bde319b02a115bd2bc093c4e (commit)
Summary of changes:
src/CMakeLists.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit ce0acf68279442b649f27b4be6ef1ce537f02b54
Author: David M. Lee <dlee at digium.com>
Date: Tue Apr 10 10:37:56 2012 -0500
Set flags when using Clang
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index bfb7d7c..c8aa4c7 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -19,7 +19,7 @@ astscf_component_init(ASTSCFIceUtilCppPJLIB)
add_subdirectory(PJLIB)
astscf_component_add_boost_libraries(ASTSCFIceUtilCpp core)
astscf_component_build_library(ASTSCFIceUtilCppPJLIB STATIC)
-if(CMAKE_COMPILER_IS_GNUCXX)
+if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANGCXX)
if(CMAKE_SIZEOF_VOID_P MATCHES 8)
set_target_properties(ASTSCFIceUtilCppPJLIB PROPERTIES COMPILE_FLAGS -fPIC)
endif()
-----------------------------------------------------------------------
--
asterisk-scf/release/ice-util-cpp.git
More information about the asterisk-scf-commits
mailing list