Skip to content

Commit

Permalink
added big fat FIXME notes to cmake script
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Dec 19, 2021
1 parent 9c13520 commit a31da6b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
cmake_minimum_required(VERSION 3.3.2)
project(SDL_image C)

# FIXME: CMAKE SUPPORT IN SDL2_image IS VERY INCOMPLETE YET !!!
#
# FIXME: make it able build against system codec libraries, too.
# FIXME: handle library versioning.
# FIXME: test accross different target platforms.

if (NOT ANDROID AND NOT (TARGET SDL2 OR TARGET SDL2-static))
find_package(SDL2 REQUIRED)
endif()
Expand All @@ -14,7 +20,7 @@ if (APPLE)
option(ENABLE_APPLE_IMAGEIO "Use native Mac OS X frameworks for loading images" ON)
endif()


# FIXME: ????
if (NOT BUILD_SHARED_LIBS)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
endif()
Expand Down

0 comments on commit a31da6b

Please sign in to comment.