refactor: Change resources path
This commit is contained in:
parent
bf88324170
commit
580ecd8dce
@ -28,7 +28,7 @@ add_library(${PROJECT_NAME})
|
|||||||
if(CMAKE_BUILD_TYPE STREQUAL "Release")
|
if(CMAKE_BUILD_TYPE STREQUAL "Release")
|
||||||
target_compile_definitions(${PROJECT_NAME} PUBLIC RESOURCES_PATH="./resources/")
|
target_compile_definitions(${PROJECT_NAME} PUBLIC RESOURCES_PATH="./resources/")
|
||||||
else()
|
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()
|
endif()
|
||||||
|
|
||||||
# Link sources, include directories, and third party libraries
|
# Link sources, include directories, and third party libraries
|
||||||
|
Loading…
Reference in New Issue
Block a user