diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-08-21 17:44:12 +0200 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-08-21 17:44:12 +0200 |
commit | f6d7fa74f851e857fd14b9cacd45adc49164a741 (patch) | |
tree | d1249060abc8726e77636097fe3b8ba67fda5881 /CMakeLists.txt | |
parent | Fixed rendering errors (diff) | |
download | AltCraft-f6d7fa74f851e857fd14b9cacd45adc49164a741.tar AltCraft-f6d7fa74f851e857fd14b9cacd45adc49164a741.tar.gz AltCraft-f6d7fa74f851e857fd14b9cacd45adc49164a741.tar.bz2 AltCraft-f6d7fa74f851e857fd14b9cacd45adc49164a741.tar.lz AltCraft-f6d7fa74f851e857fd14b9cacd45adc49164a741.tar.xz AltCraft-f6d7fa74f851e857fd14b9cacd45adc49164a741.tar.zst AltCraft-f6d7fa74f851e857fd14b9cacd45adc49164a741.zip |
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 94d9a62..e5c3a85 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,6 +31,7 @@ add_definitions(${LOGGER_DEFINITIONS}) #Set compiler's flags and setup platfrom-dependent libraries if (CMAKE_COMPILER_IS_GNUCXX) + SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -no-pie") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -Wextra -Wno-error=unused-parameter") #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address") #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=undefined") |