Skip to content

Commit

Permalink
don't build books and textedit with Qt6 due to erros
Browse files Browse the repository at this point in the history
  • Loading branch information
yurikoles committed Dec 14, 2022
1 parent 1efeb1c commit 5086834
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ else()
set(prefixPath ${CMAKE_BINARY_DIR}/${CMAKE_PREFIX_PATH})
endif()

ExternalProject_Add(books
SOURCE_DIR ${CMAKE_SOURCE_DIR}/books
INSTALL_COMMAND ""
CMAKE_ARGS
-DCMAKE_PREFIX_PATH=${prefixPath}
)
ExternalProject_Add(codegen
SOURCE_DIR ${CMAKE_SOURCE_DIR}/codegen
INSTALL_COMMAND ""
Expand All @@ -25,6 +19,12 @@ ExternalProject_Add(codegen
)

if (NOT GRANTLEE_BUILD_WITH_QT6)
ExternalProject_Add(books
SOURCE_DIR ${CMAKE_SOURCE_DIR}/books
INSTALL_COMMAND ""
CMAKE_ARGS
-DCMAKE_PREFIX_PATH=${prefixPath}
)
ExternalProject_Add(contacts
SOURCE_DIR ${CMAKE_SOURCE_DIR}/contacts
INSTALL_COMMAND ""
Expand All @@ -40,12 +40,12 @@ if (NOT GRANTLEE_BUILD_WITH_QT6)
-DCMAKE_PREFIX_PATH=${prefixPath}
DEPENDS contacts
)
endif()

ExternalProject_Add(textedit
SOURCE_DIR ${CMAKE_SOURCE_DIR}/textedit
INSTALL_COMMAND ""
CMAKE_ARGS
-DCMAKE_PREFIX_PATH=${prefixPath}
DEPENDS htmlapps
)
ExternalProject_Add(textedit
SOURCE_DIR ${CMAKE_SOURCE_DIR}/textedit
INSTALL_COMMAND ""
CMAKE_ARGS
-DCMAKE_PREFIX_PATH=${prefixPath}
DEPENDS htmlapps
)
endif()

0 comments on commit 5086834

Please sign in to comment.