mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-25 20:02:40 +01:00
Remove iconv from CMake configuration
This commit is contained in:
parent
3123571894
commit
cdebd16532
@ -39,7 +39,6 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "NetBSD")
|
|||||||
add_definitions(-DRW_NETBSD)
|
add_definitions(-DRW_NETBSD)
|
||||||
elseif(CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")
|
elseif(CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")
|
||||||
add_definitions(-DRW_OPENBSD)
|
add_definitions(-DRW_OPENBSD)
|
||||||
set(OPENRW_PLATFORM_LIBS iconv)
|
|
||||||
elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
||||||
add_definitions(-DRW_WINDOWS)
|
add_definitions(-DRW_WINDOWS)
|
||||||
else ()
|
else ()
|
||||||
@ -82,10 +81,6 @@ if(NOT DEFINED DOC_DIR)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Find dependancies
|
# Find dependancies
|
||||||
IF(APPLE)
|
|
||||||
set(OPENRW_PLATFORM_LIBS iconv)
|
|
||||||
ENDIF()
|
|
||||||
|
|
||||||
find_package(OpenGL REQUIRED)
|
find_package(OpenGL REQUIRED)
|
||||||
find_package(OpenAL REQUIRED)
|
find_package(OpenAL REQUIRED)
|
||||||
find_package(Bullet REQUIRED)
|
find_package(Bullet REQUIRED)
|
||||||
|
@ -52,7 +52,6 @@ target_link_libraries(rwgame
|
|||||||
if(MINGW)
|
if(MINGW)
|
||||||
add_definitions(-D _USE_MATH_DEFINES)
|
add_definitions(-D _USE_MATH_DEFINES)
|
||||||
target_link_libraries(rwgame
|
target_link_libraries(rwgame
|
||||||
iconv
|
|
||||||
mman)
|
mman)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user