summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2018-04-13 18:15:23 +0300
committerIvan Maidanski <ivmai@mail.ru>2018-04-13 18:15:23 +0300
commitbafd078cbe7f5ba689934c7a73bcd95a15bb0d5b (patch)
tree7def76646b595df5f0c7735007644d9dcc0054fd
parent7743ae0b545ee73ec7239785eae93cace232a76a (diff)
downloadbdwgc-bafd078cbe7f5ba689934c7a73bcd95a15bb0d5b.tar.gz
Allocate non-executable memory by default (CMake)
* CMakeLists.txt (NO_EXECUTE_PERMISSION): Define macro.
-rw-r--r--CMakeLists.txt2
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 "")