summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmake/OptionsQt.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmake/OptionsQt.cmake b/Source/cmake/OptionsQt.cmake
index 35bbc70cc..31f89ea82 100644
--- a/Source/cmake/OptionsQt.cmake
+++ b/Source/cmake/OptionsQt.cmake
@@ -14,6 +14,12 @@ set(PROJECT_VERSION_STRING "${PROJECT_VERSION}")
set(QT_CONAN_DIR "" CACHE PATH "Directory containing conanbuildinfo.cmake and conanfile.txt")
if (QT_CONAN_DIR)
include("${QT_CONAN_DIR}/conanbuildinfo.cmake")
+
+ # Remove this workaround when libxslt package is fixed
+ string(REPLACE "include/libxslt" "include" replace_CONAN_INCLUDE_DIRS ${CONAN_INCLUDE_DIRS})
+ set(CONAN_INCLUDE_DIRS ${replace_CONAN_INCLUDE_DIRS})
+
+ # Remove this workaround when libxml2 package is fixed
set(_BACKUP_CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH})
conan_basic_setup()
set(CMAKE_MODULE_PATH ${_BACKUP_CMAKE_MODULE_PATH})