We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 360d40a commit 3d70953Copy full SHA for 3d70953
1 file changed
CMakeLists.txt
@@ -4,6 +4,9 @@ cmake_policy(SET CMP0063 NEW) # visibility
4
if (POLICY CMP0146)
5
cmake_policy(SET CMP0146 OLD) # Keep legacy FindCUDA module behavior on newer CMake.
6
endif()
7
+if (POLICY CMP0147)
8
+ cmake_policy(SET CMP0147 OLD) # Required for legacy FindCUDA with Visual Studio generators.
9
+endif()
10
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
11
set(CMAKE_VISIBILITY_INLINES_HIDDEN 1)
12
0 commit comments