Refactor CMakeLists.txt and app.cmake

This commit is contained in:
scawful
2024-08-30 11:17:24 -04:00
parent 9c6d74544c
commit b1f235cd41
3 changed files with 5 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
# cmake -DCMAKE_TOOLCHAIN_FILE=./cmake/mingw64.cmake -B build-windows && cmake --build ./build-windows
# cmake -DCMAKE_TOOLCHAIN_FILE=./cmake/mingw64.cmake -B build/build-windows && cmake --build ./build/build-windows
set(CMAKE_SYSTEM_NAME Windows)
set(CMAKE_SYSTEM_VERSION 1)

View File

@@ -107,9 +107,9 @@ if (YAZE_BUILD_LIB)
install(
FILES
yaze.h
base/sprite.h
base/snes_color.h
base/overworld.h
incl/sprite.h
incl/snes_color.h
incl/overworld.h
DESTINATION include)
endif()
endif()

View File

@@ -46,7 +46,7 @@ endif()
if (WIN32 OR MINGW)
target_link_libraries(
yaze PUBLIC
${CMAKE_SOURCE_DIR}/build-windows/bin/libpng16.dll
${CMAKE_SOURCE_DIR}/build/build-windows/bin/libpng16.dll
zlib
mingw32
ws2_32)