[Cmake-commits] [cmake-commits] alex committed FindKDE3.cmake 1.16 1.17
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Jun 18 16:39:52 EDT 2008
Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv8065
Modified Files:
FindKDE3.cmake
Log Message:
BUG: the variable is _KDE4_USE_FLAGS
ENH: I guess this is also true for gcc 2.95 ?
Alex
Index: FindKDE3.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/FindKDE3.cmake,v
retrieving revision 1.16
retrieving revision 1.17
diff -C 2 -d -r1.16 -r1.17
*** FindKDE3.cmake 18 Jun 2008 16:23:50 -0000 1.16
--- FindKDE3.cmake 18 Jun 2008 20:39:46 -0000 1.17
***************
*** 81,85 ****
! #add some KDE specific stuff
SET(KDE3_DEFINITIONS -DQT_CLEAN_NAMESPACE -D_GNU_SOURCE)
set(_KDE3_USE_FLAGS FALSE)
--- 81,85 ----
! # add some KDE specific stuff
SET(KDE3_DEFINITIONS -DQT_CLEAN_NAMESPACE -D_GNU_SOURCE)
set(_KDE3_USE_FLAGS FALSE)
***************
*** 88,95 ****
execute_process(COMMAND ${CMAKE_CXX_COMPILER} --version
OUTPUT_VARIABLE out)
! # gnu 2.96 does not work with flags
! if(out MATCHES 2.96)
! set(_KDE3_NO_FLAGS FALSE)
! endif(out MATCHES 2.96)
endif(CMAKE_COMPILER_IS_GNUCXX)
--- 88,96 ----
execute_process(COMMAND ${CMAKE_CXX_COMPILER} --version
OUTPUT_VARIABLE out)
! # gnu gcc 2.96 does not work with flags
! # I guess 2.95 also doesn't then
! if("${out}" MATCHES "2.9[56]")
! set(_KDE3_USE_FLAGS FALSE)
! endif("${out}" out MATCHES "2.9[56]")
endif(CMAKE_COMPILER_IS_GNUCXX)
More information about the Cmake-commits
mailing list