Skip to content

Commit

Permalink
ECS: CMake try
Browse files Browse the repository at this point in the history
  • Loading branch information
Saverio976 committed Oct 31, 2023
1 parent 03b6353 commit c88f039
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions libs/B-luga-graphics/deps/raylib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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_FILE:raylib>)
target_link_libraries(${PROJECT_NAME} PUBLIC cocoa)

target_include_directories(
${PROJECT_NAME}
Expand Down

0 comments on commit c88f039

Please sign in to comment.