diff --git a/CMakeLists.txt b/CMakeLists.txt index 538d4fe7..cd9d6408 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,7 +39,6 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "NetBSD") add_definitions(-DRW_NETBSD) elseif(CMAKE_SYSTEM_NAME STREQUAL "OpenBSD") add_definitions(-DRW_OPENBSD) - set(OPENRW_PLATFORM_LIBS iconv) elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows") add_definitions(-DRW_WINDOWS) else () @@ -82,10 +81,6 @@ if(NOT DEFINED DOC_DIR) endif() # Find dependancies -IF(APPLE) - set(OPENRW_PLATFORM_LIBS iconv) -ENDIF() - find_package(OpenGL REQUIRED) find_package(OpenAL REQUIRED) find_package(Bullet REQUIRED) diff --git a/rwgame/CMakeLists.txt b/rwgame/CMakeLists.txt index f28ee8d1..7e44019c 100644 --- a/rwgame/CMakeLists.txt +++ b/rwgame/CMakeLists.txt @@ -52,7 +52,6 @@ target_link_libraries(rwgame if(MINGW) add_definitions(-D _USE_MATH_DEFINES) target_link_libraries(rwgame - iconv mman) endif()