summaryrefslogtreecommitdiffstats
path: root/Source/cmBuildSharedLibrariesCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-05-16 19:15:21 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-05-16 19:15:21 (GMT)
commit1cd9ce6f6e0597f6a4a0436285a67d979b03655c (patch)
tree1ce4055b5fd3b1eb6e80e419f4b29a574407512a /Source/cmBuildSharedLibrariesCommand.cxx
parenta5480276d5782f2bcc8d44cf4c5cbf29b980a1f0 (diff)
downloadCMake-1cd9ce6f6e0597f6a4a0436285a67d979b03655c.zip
CMake-1cd9ce6f6e0597f6a4a0436285a67d979b03655c.tar.gz
CMake-1cd9ce6f6e0597f6a4a0436285a67d979b03655c.tar.bz2
ENH: unify make process on unix
Diffstat (limited to 'Source/cmBuildSharedLibrariesCommand.cxx')
-rw-r--r--Source/cmBuildSharedLibrariesCommand.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmBuildSharedLibrariesCommand.cxx b/Source/cmBuildSharedLibrariesCommand.cxx
index 8e45ba5..11da712 100644
--- a/Source/cmBuildSharedLibrariesCommand.cxx
+++ b/Source/cmBuildSharedLibrariesCommand.cxx
@@ -53,7 +53,10 @@ bool cmBuildSharedLibrariesCommand::Invoke(std::vector<std::string>& args)
AddCacheEntry("BUILD_SHARED_LIBS",
false,
"If ON, the resulting project or makefiles will "
- "produce shared libraries.");
+ "produce shared libraries. WARNING! On some "
+ "UNIX platforms, changing this setting will require"
+ " removing all .o files, as they will have to be recompiled "
+ " with -fpic or some other flag.");
m_Makefile->AddDefinition("BUILD_SHARED_LIBS", false);
}
else