diff --git a/libs/B-luga-graphics/deps/raylib/CMakeLists.txt b/libs/B-luga-graphics/deps/raylib/CMakeLists.txt index d46b880..aab52b2 100644 --- a/libs/B-luga-graphics/deps/raylib/CMakeLists.txt +++ b/libs/B-luga-graphics/deps/raylib/CMakeLists.txt @@ -15,10 +15,12 @@ FetchContent_MakeAvailable(raylib) # add_library(raylibe STATIC IMPORTED) # set_target_properties(raylibe PROPERTIES IMPORTED_LOCATION ) -find_library(cocoa Cocoa) +if(APPLE) + find_library(COCOA Cocoa) + target_link_libraries(${PROJECT_NAME} PUBLIC ${COCOA}) +endif() target_link_libraries(${PROJECT_NAME} PUBLIC $) -target_link_libraries(${PROJECT_NAME} PUBLIC cocoa) target_include_directories( ${PROJECT_NAME}