mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
Small cmake fix
This commit is contained in:
parent
9881d3e75f
commit
659db14033
2 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ if (NOT EXISTS ${GEODE_BIN_PATH})
|
|||
make_directory(${GEODE_BIN_PATH})
|
||||
endif()
|
||||
|
||||
if (GEODE_LINK_NIGHTLY)
|
||||
if (${GEODE_LINK_NIGHTLY})
|
||||
set(GEODE_PLATFORM_BIN_PATH ${GEODE_BIN_PATH}/nightly/${GEODE_PLATFORM_BINARY})
|
||||
else()
|
||||
set(GEODE_PLATFORM_BIN_PATH ${GEODE_BIN_PATH}/${PROJECT_VERSION}/${GEODE_PLATFORM_BINARY})
|
||||
|
|
|
@ -39,7 +39,7 @@ elseif (GEODE_TARGET_PLATFORM STREQUAL "MacOS")
|
|||
${GEODE_LOADER_PATH}/include/Geode/cocos/cocos2dx/platform/third_party/mac/OGLES
|
||||
)
|
||||
|
||||
target_link_libraries(${PROJECT_NAME} INTERFACE "-framework Cocoa")
|
||||
target_link_libraries(${PROJECT_NAME} INTERFACE curl "-framework Cocoa")
|
||||
target_compile_options(${PROJECT_NAME} INTERFACE -fms-extensions -Wno-deprecated -Wno-ignored-attributes -Os -flto -fvisibility=internal)
|
||||
target_compile_definitions(${PROJECT_NAME} INTERFACE -DCC_TARGET_OS_MAC)
|
||||
|
||||
|
|
Loading…
Reference in a new issue