1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Fix Cmake compilation on macOS 10.12.6

This commit is contained in:
Marijn van der Werf
2017-08-28 22:01:48 +02:00
committed by Michał Janiszewski
parent 3a9cafd2f0
commit dfbce1ad4c
2 changed files with 4 additions and 4 deletions

View File

@@ -44,8 +44,8 @@ project(${PROJECT})
add_executable(${PROJECT} ${OPENRCT2_UI_SOURCES} ${OPENRCT2_UI_M_SOURCES} ${OPENRCT2_UI_MM_SOURCES})
target_link_libraries(${PROJECT} "libopenrct2"
${SDL2_LIBRARIES}
${SPEEX_LIBRARIES})
${SDL2_LDFLAGS}
${SPEEX_LDFLAGS})
if (APPLE)
target_link_libraries(${PROJECT} "-framework Cocoa")

View File

@@ -200,8 +200,8 @@ endif()
# Includes
target_include_directories(${PROJECT} SYSTEM PRIVATE ${LIBZIP_INCLUDE_DIRS})
target_include_directories(${PROJECT} PRIVATE ${JANSSON_INCLUDE_DIRS}
${PNG_INCLUDE_DIRS}
target_include_directories(${PROJECT} PUBLIC ${JANSSON_INCLUDE_DIRS})
target_include_directories(${PROJECT} PRIVATE ${PNG_INCLUDE_DIRS}
${ZLIB_INCLUDE_DIRS})
if (NOT DISABLE_HTTP_TWITCH OR NOT DISABLE_NETWORK)
target_include_directories(${PROJECT} PRIVATE ${LIBCURL_INCLUDE_DIRS})