Commit f1793af4046d294152ec15944f0e35fa8c9b9411

Ryan C. Gordon 2021-10-05T11:19:30

cmake: removed an add_definitions call.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/cmake/sdlchecks.cmake b/cmake/sdlchecks.cmake
index ea2a421..3977745 100644
--- a/cmake/sdlchecks.cmake
+++ b/cmake/sdlchecks.cmake
@@ -442,7 +442,6 @@ macro(CheckX11)
           list(APPEND EXTRA_LIBS ipc)
         endif()
         if(NOT HAVE_SHMAT)
-          add_definitions(-DNO_SHARED_MEMORY)
           list(APPEND EXTRA_CFLAGS "-DNO_SHARED_MEMORY")
         endif()
       endif()