From: <pat...@us...> - 2012-08-03 18:43:45
|
Revision: 706 http://xml-cppdom.svn.sourceforge.net/xml-cppdom/?rev=706&view=rev Author: patrickh Date: 2012-08-03 18:43:39 +0000 (Fri, 03 Aug 2012) Log Message: ----------- Fix flagpoll file creation when using Clang. Submitted by: Doug McCorkle Modified Paths: -------------- trunk/CMakeLists.txt Modified: trunk/CMakeLists.txt =================================================================== --- trunk/CMakeLists.txt 2012-07-31 17:48:27 UTC (rev 705) +++ trunk/CMakeLists.txt 2012-08-03 18:43:39 UTC (rev 706) @@ -49,7 +49,7 @@ set(includedir "\${fp_file_cwd}/../../${INCLUDE_DIR}") set(libdir "\${fp_file_cwd}/../../${LIB_DIR}") -if(CMAKE_COMPILER_IS_GNUCXX) +if(CMAKE_COMPILER_IS_GNUCXX OR ( CMAKE_CXX_COMPILER_ID STREQUAL "Clang" ) ) set(cppdom_cxxflags "-Wno-deprecated") set(include_path_flag "-I") set(cppdom_libs "-lcppdom-${VERSION_UNDERSCORES}") This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |