detect 64bit processors and add -fPIC
authorDiane Trout <diane@caltech.edu>
Sat, 3 Feb 2007 01:55:46 +0000 (01:55 +0000)
committerDiane Trout <diane@caltech.edu>
Sat, 3 Feb 2007 01:55:46 +0000 (01:55 +0000)
commit974e1b5bb6822a96aac25f5e35d1405b0c36b279
tree6b0dfbac7e16469eac644229b41156731b986cad
parent38532e132bdaca69c177e9f84266cc5b6347fa6c
detect 64bit processors and add -fPIC
this is an intermediate solution as I probably can use ADD_DEFINES()
to add the command line options for the compiler instead of fiddingly
with CMAKE variables

Props to Brandon for finding the solution in an openwengo patch.
http://dev.openwengo.org/trac/openwengo/trac.cgi/changeset/9139
Long Live CMake!
makelib/Platform.cmake