mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-01 04:03:24 +03:00
VTKCompatibility: ignore for "modern" VTK
Modern versions which use the module system really don't need any of the hacks needed here.
This commit is contained in:
1 parent
9251205512
commit
7391363302
1 file changed
+4
@@ -1,6 +1,10 @@
|
||||
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
# file Copyright.txt or https://cmake.org/licensing for details.
|
||||
|
||||
# Not needed for "modern" VTK.
|
||||
if (EXISTS "${VTK_SOURCE_DIR}/CMake/vtkModule.cmake")
|
||||
return ()
|
||||
endif ()
|
||||
|
||||
if(APPLE)
|
||||
set(CMAKE_CXX_CREATE_SHARED_LIBRARY "${CMAKE_C_CREATE_SHARED_LIBRARY}")
|
||||
|
||||
Reference in new issue
Block a user