Only include QCA includes where needed
There's no need to make all the framework look for the QCA includes while they're only being used by the remote part. It could possibly be made more specific, but I don't think those are yet being used anyway.
This commit is contained in:
parent
1d3da96d88
commit
392fa639b6
@ -126,12 +126,6 @@ add_definitions(-DQT_NO_URL_CAST_FROM_STRING)
|
|||||||
|
|
||||||
remove_definitions(-DQT_NO_CAST_FROM_ASCII -DQT_STRICT_ITERATORS -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_KEYWORDS)
|
remove_definitions(-DQT_NO_CAST_FROM_ASCII -DQT_STRICT_ITERATORS -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_KEYWORDS)
|
||||||
|
|
||||||
if(QCA2_FOUND)
|
|
||||||
# include_directories(
|
|
||||||
# ${QCA2_INCLUDE_DIR}
|
|
||||||
# )
|
|
||||||
endif()
|
|
||||||
|
|
||||||
include(PlasmaMacros.cmake)
|
include(PlasmaMacros.cmake)
|
||||||
|
|
||||||
################# configure checks and create the configured files #################
|
################# configure checks and create the configured files #################
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
if(QCA2_FOUND)
|
||||||
|
include_directories(
|
||||||
|
${QCA2_INCLUDE_DIR}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
# This option should be removed, or moved down as far as possible.
|
# This option should be removed, or moved down as far as possible.
|
||||||
# That means porting the existing frameworks to the CMake automoc
|
# That means porting the existing frameworks to the CMake automoc
|
||||||
|
Loading…
Reference in New Issue
Block a user