diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-10-05 18:31:43 -0700 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-10-05 18:31:43 -0700 |
commit | 6f3cd529afa4018e29e26058b70ef5efacb650b5 (patch) | |
tree | 8c4c45cc570f841bf37aaf7ab2f34d7da7ea28dd /CMakeLists.txt | |
parent | f899e08946fa6ea262ae358f41b5ff9a94003c04 (diff) |
Pulled latest updates from trunk
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
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") |