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 b94be1d commit 60f11a8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions libs/B-luga-graphics/deps/raylib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ FetchContent_Declare(

FetchContent_MakeAvailable(raylib)

message(WARNING $<TARGET_FILE:raylib>)
cmake_path(ABSOLUTE_PATH $<TARGET_FILE:raylib> NORMALIZE OUTPUT_VARIABLE raylib_static_absolute_path)
target_link_libraries(${PROJECT_NAME} INTERFACE ${raylib_static_absolute_path})
target_link_libraries(${PROJECT_NAME} INTERFACE "${CMAKE_CURRENT_BINARY_DIR}/$<TARGET_FILE:raylib>")

target_include_directories(
${PROJECT_NAME}
Expand Down

0 comments on commit 60f11a8

Please sign in to comment.