diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2018-04-13 18:15:23 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2018-04-13 18:15:23 +0300 |
commit | bafd078cbe7f5ba689934c7a73bcd95a15bb0d5b (patch) | |
tree | 7def76646b595df5f0c7735007644d9dcc0054fd | |
parent | 7743ae0b545ee73ec7239785eae93cace232a76a (diff) | |
download | bdwgc-bafd078cbe7f5ba689934c7a73bcd95a15bb0d5b.tar.gz |
Allocate non-executable memory by default (CMake)
* CMakeLists.txt (NO_EXECUTE_PERMISSION): Define macro.
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 65e3e653..ece8fb98 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,7 +30,7 @@ INCLUDE(CTest) CMAKE_MINIMUM_REQUIRED(VERSION 2.6) ADD_DEFINITIONS("-D_CRT_SECURE_NO_DEPRECATE - -DALL_INTERIOR_POINTERS") + -DALL_INTERIOR_POINTERS -DNO_EXECUTE_PERMISSION") IF(APPLE) IF("${CMAKE_OSX_ARCHITECTURES}" STREQUAL "") |