You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CMakeLists.txt
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -464,7 +464,11 @@ include_directories(
464
464
465
465
# Honor visibility properties for all target types
466
466
# Run "cmake --help-policy CMP0063" for policy details
467
-
cmake_policy(SETCMP0063NEW)
467
+
if (POLICYCMP0063)
468
+
cmake_policy(SETCMP0063NEW)
469
+
else()
470
+
message(WARNING"It is not possible to correctly set symbol visibility in object files with your version of CMake. We recommend using CMake 3.3 or newer.")
0 commit comments