enable Qt by default as it appears to be required on all platforms
This commit is contained in:
parent
ecabdfe7d9
commit
c1e79a6994
8
LISEZMOI
8
LISEZMOI
@ -10,11 +10,3 @@ Compilation (pour développeurs) :
|
|||||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||||
-DCMAKE_CXX_FLAGS="-Wall -Wextra" \
|
-DCMAKE_CXX_FLAGS="-Wall -Wextra" \
|
||||||
&& cmake --build build
|
&& cmake --build build
|
||||||
|
|
||||||
|
|
||||||
Il peut également être nécessaire de passer
|
|
||||||
-DVTK_MODULE_ENABLE_VTK_GUISupportQt:STRING=YES
|
|
||||||
-DVTK_MODULE_ENABLE_VTK_RenderingQt:STRING=YES
|
|
||||||
-DVTK_MODULE_ENABLE_VTK_ViewsQt:STRING=YES
|
|
||||||
à cmake sans quoi la fenêtre refuse de s'afficher (nécessite d'avoir
|
|
||||||
Qt installé).
|
|
||||||
|
3
external/vtk/CMakeLists.txt
vendored
3
external/vtk/CMakeLists.txt
vendored
@ -1,6 +1,9 @@
|
|||||||
cmake_minimum_required(VERSION 3.15)
|
cmake_minimum_required(VERSION 3.15)
|
||||||
|
|
||||||
set(VTK_ENABLE_WRAPPING OFF)
|
set(VTK_ENABLE_WRAPPING OFF)
|
||||||
|
set(VTK_MODULE_ENABLE_VTK_GUISupportQt "YES" CACHE STRING "")
|
||||||
|
set(VTK_MODULE_ENABLE_VTK_RenderingQt "YES" CACHE STRING "")
|
||||||
|
set(VTK_MODULE_ENABLE_VTK_ViewsQt "YES" CACHE STRING "")
|
||||||
|
|
||||||
include(FetchContent)
|
include(FetchContent)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user