diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2018-06-23 17:04:18 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2018-06-23 17:04:18 +0000 |
| commit | b1598dc70362f331da7a65f1e5ddece7c88299f3 (patch) | |
| tree | b86ceda8b546d19b0bb1d4cfc7b8babdd53c3f3c /CMake/setup.cmake | |
| parent | a9fd08ff5ab8bbf3838200ceace671a72627d212 (diff) | |
Removed macro FL_PORTING, as it has been more confusing than helpful.
The original intention of FL_PORTING was to mark all places in the
source code where changes are required to port FLTK to a new platform.
Thanks to the driver system, this approach has become somewhat
misleading, so I removed all references.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12969 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'CMake/setup.cmake')
| -rw-r--r-- | CMake/setup.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMake/setup.cmake b/CMake/setup.cmake index bed59722e..23f20695b 100644 --- a/CMake/setup.cmake +++ b/CMake/setup.cmake @@ -100,8 +100,8 @@ if(APPLE) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mmacosx-version-min=10.8") endif(${CMAKE_SYSTEM_VERSION} VERSION_GREATER 16.9.0) elseif(OPTION_APPLE_SDL) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${SDL2_INCLUDE_DIRS} -U__APPLE__ -DFL_PORTING") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${SDL2_INCLUDE_DIRS} -U__APPLE__ -DFL_PORTING") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${SDL2_INCLUDE_DIRS} -U__APPLE__") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${SDL2_INCLUDE_DIRS} -U__APPLE__") else() set(__APPLE_QUARTZ__ 1) set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -framework Cocoa") |
