aboutsummaryrefslogtreecommitdiff
path: root/cmake/modules/FindTexturePacker.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/modules/FindTexturePacker.cmake')
-rw-r--r--cmake/modules/FindTexturePacker.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/modules/FindTexturePacker.cmake b/cmake/modules/FindTexturePacker.cmake
index 677b4d983b..aa6fd3aea6 100644
--- a/cmake/modules/FindTexturePacker.cmake
+++ b/cmake/modules/FindTexturePacker.cmake
@@ -19,7 +19,7 @@ if(NOT TARGET TexturePacker::TexturePacker)
elseif(WIN32)
add_executable(TexturePacker::TexturePacker IMPORTED GLOBAL)
set_target_properties(TexturePacker::TexturePacker PROPERTIES
- IMPORTED_LOCATION "${CORE_SOURCE_DIR}/tools/TexturePacker/TexturePacker.exe")
+ IMPORTED_LOCATION "${CMAKE_SOURCE_DIR}/tools/TexturePacker/TexturePacker.exe")
else()
if(WITH_TEXTUREPACKER)
get_filename_component(_tppath ${WITH_TEXTUREPACKER} ABSOLUTE)
@@ -34,7 +34,7 @@ if(NOT TARGET TexturePacker::TexturePacker)
endif()
mark_as_advanced(TEXTUREPACKER)
else()
- add_subdirectory(${CORE_SOURCE_DIR}/tools/depends/native/TexturePacker build/texturepacker)
+ add_subdirectory(${CMAKE_SOURCE_DIR}/tools/depends/native/TexturePacker build/texturepacker)
add_executable(TexturePacker::TexturePacker ALIAS TexturePacker)
endif()
endif()