commit ea88fe598819e0c8936b9ffc65f8bb8030d2e32d
parent 806fd2f1b9c0f11155986e7634e433a2309888f0
Author: fundamental <mark.d.mccurry@gmail.com>
Date: Sun, 10 Jun 2012 18:06:31 -0400
Fixes compile error in debian unstable
Code now compiles unconditionally with -fPIC.
Diffstat:
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
@@ -167,10 +167,7 @@ else (BuildForDebug)
message (STATUS "Building for ${CMAKE_BUILD_TYPE}, flags: ${CMAKE_CXX_FLAGS_RELEASE}")
endif (BuildForDebug)
-if (DssiEnable)
- add_definitions(-fPIC)
-endif()
-
+add_definitions(-fPIC)
if(FLTK_FOUND)
mark_as_advanced(FORCE FLTK_BASE_LIBRARY)