You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
289 B

--- a/source/CMakeLists.txt
+++ b/source/CMakeLists.txt
@@ -196,7 +196,7 @@
add_definitions(-std=gnu++98)
endif()
if(ENABLE_PIC)
- add_definitions(-fPIC)
+ add_definitions(-fPIC -DPIC)
endif(ENABLE_PIC)
if(NATIVE_BUILD)
if(INTEL_CXX)