refactor: Change resources path

This commit is contained in:
Huseyn Ismayilov 2024-11-22 05:08:57 +04:00
parent bf88324170
commit 580ecd8dce
7 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ add_library(${PROJECT_NAME})
if(CMAKE_BUILD_TYPE STREQUAL "Release")
target_compile_definitions(${PROJECT_NAME} PUBLIC RESOURCES_PATH="./resources/")
else()
target_compile_definitions(${PROJECT_NAME} PUBLIC RESOURCES_PATH="${CMAKE_SOURCE_DIR}/editor/resources/")
target_compile_definitions(${PROJECT_NAME} PUBLIC RESOURCES_PATH="${CMAKE_SOURCE_DIR}/engine/resources/")
endif()
# Link sources, include directories, and third party libraries