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:
committed by
Michał Janiszewski
parent
3a9cafd2f0
commit
dfbce1ad4c
@@ -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")
|
||||
|
||||
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user