BUG: the variable is _KDE4_USE_FLAGS
ENH: I guess this is also true for gcc 2.95 ? Alex
This commit is contained in:
parent
974feca643
commit
24e584f7a8
@ -87,10 +87,11 @@ if(CMAKE_COMPILER_IS_GNUCXX)
|
|||||||
set(_KDE3_USE_FLAGS TRUE) # use flags for gnu compiler
|
set(_KDE3_USE_FLAGS TRUE) # use flags for gnu compiler
|
||||||
execute_process(COMMAND ${CMAKE_CXX_COMPILER} --version
|
execute_process(COMMAND ${CMAKE_CXX_COMPILER} --version
|
||||||
OUTPUT_VARIABLE out)
|
OUTPUT_VARIABLE out)
|
||||||
# gnu 2.96 does not work with flags
|
# gnu gcc 2.96 does not work with flags
|
||||||
if(out MATCHES 2.96)
|
# I guess 2.95 also doesn't then
|
||||||
set(_KDE3_NO_FLAGS FALSE)
|
if("${out}" MATCHES "2.9[56]")
|
||||||
endif(out MATCHES 2.96)
|
set(_KDE3_USE_FLAGS FALSE)
|
||||||
|
endif("${out}" out MATCHES "2.9[56]")
|
||||||
endif(CMAKE_COMPILER_IS_GNUCXX)
|
endif(CMAKE_COMPILER_IS_GNUCXX)
|
||||||
|
|
||||||
#only on linux, but NOT e.g. on FreeBSD:
|
#only on linux, but NOT e.g. on FreeBSD:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user