From 6f3cd529afa4018e29e26058b70ef5efacb650b5 Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Wed, 5 Oct 2016 18:31:43 -0700 Subject: Pulled latest updates from trunk --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index c1b6f8516..1d37f94f7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -126,7 +126,8 @@ if(NOT MSVC) if(COMPILER_SUPPORT_WERROR) set(CMAKE_REQUIRED_FLAGS "-Werror") endif() - + ei_add_cxx_compiler_flag("-static") + ei_add_cxx_compiler_flag("-fPIC") ei_add_cxx_compiler_flag("-pedantic") ei_add_cxx_compiler_flag("-Wall") ei_add_cxx_compiler_flag("-Wextra") -- cgit v1.2.3