From 0e25d31f3084ce3f4c0830bd6a3c61b1df429386 Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 20 Nov 2016 13:20:54 +0100 Subject: [PATCH] Changed: Try to force -fPIC --HG-- branch : develop --- code/CMakeModules/nel.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/CMakeModules/nel.cmake b/code/CMakeModules/nel.cmake index 55186975d..473a61eee 100644 --- a/code/CMakeModules/nel.cmake +++ b/code/CMakeModules/nel.cmake @@ -911,7 +911,7 @@ MACRO(NL_SETUP_BUILD) ENDIF() # Fix "relocation R_X86_64_32 against.." error on x64 platforms - IF(TARGET_X64 AND WITH_STATIC AND NOT WITH_STATIC_DRIVERS AND NOT MINGW) + IF(NOT MINGW) ADD_PLATFORM_FLAGS("-fPIC") ENDIF()