mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-22 15:23:01 +01:00
cmake: add iconv libraries
This commit is contained in:
@@ -96,6 +96,11 @@ else (WIN32)
|
|||||||
add_executable(${PROJECT} ${ORCT2_SOURCES})
|
add_executable(${PROJECT} ${ORCT2_SOURCES})
|
||||||
endif (WIN32)
|
endif (WIN32)
|
||||||
|
|
||||||
|
if (APPLE)
|
||||||
|
FIND_LIBRARY(ICONV_LIBRARIES NAMES iconv libiconv libiconv-2 c)
|
||||||
|
TARGET_LINK_LIBRARIES(${PROJECT} ${ICONV_LIBRARIES})
|
||||||
|
endif (APPLE)
|
||||||
|
|
||||||
# install into ${CMAKE_INSTALL_PREFIX}/bin/
|
# install into ${CMAKE_INSTALL_PREFIX}/bin/
|
||||||
#install (TARGETS ${PROJECT} DESTINATION bin)
|
#install (TARGETS ${PROJECT} DESTINATION bin)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user