From 3a9a5a04447b8b5dc2cc3860a8faa56ecbdbac50 Mon Sep 17 00:00:00 2001 From: nathansmithsmith Date: Sun, 24 Dec 2023 14:22:49 -0700 Subject: Changed cmake a bit --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e85c450..4215b82 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,10 +28,8 @@ if (${PLATFORM} MATCHES "Web") set_target_properties(${PROJECT_NAME} PROPERTIES LINK_FLAGS "--preload-file assets.rres") endif() -set(RAYLIB_LIB raylib) - target_include_directories(${PROJECT_NAME} PUBLIC include src) -target_link_libraries(${PROJECT_NAME} ${RAYLIB_LIB} m) +target_link_libraries(${PROJECT_NAME} raylib m) if (WIN32) target_link_libraries(${PROJECT_NAME} opengl32 gdi32 winmm) -- cgit v1.2.3