aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/cmake/LLCommon.cmake
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/cmake/LLCommon.cmake13
1 files changed, 1 insertions, 12 deletions
diff --git a/linden/indra/cmake/LLCommon.cmake b/linden/indra/cmake/LLCommon.cmake
index 9158e98..410766e 100644
--- a/linden/indra/cmake/LLCommon.cmake
+++ b/linden/indra/cmake/LLCommon.cmake
@@ -12,15 +12,4 @@ set(LLCOMMON_INCLUDE_DIRS
12 ${Boost_INCLUDE_DIRS} 12 ${Boost_INCLUDE_DIRS}
13 ) 13 )
14 14
15# Files that need PIC code (pluginAPI) need to set REQUIRE_PIC on 64bit systems 15set(LLCOMMON_LIBRARIES llcommon)
16# this will link against a llcommon built with Position Independent Code
17# this is a requirment to link a static library (.a) to a DSO on 64 bit systems
18
19if(REQUIRE_PIC)
20 set(LLCOMMON_LIBRARIES llcommonPIC)
21else(REQUIRE_PIC)
22 set(LLCOMMON_LIBRARIES llcommon)
23endif(REQUIRE_PIC)
24
25#force clear the flag, files that need this must explicity set it themselves
26set(REQUIRE_PIC 0) \ No newline at end of file