Move CMake install location to devkitARM directory for GBA builds

This commit is contained in:
2016-12-22 23:27:18 -06:00
parent 0acaab39d3
commit 1b2f87197b
2 changed files with 4 additions and 15 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ install:
clean:
${ENV_RUN} make -j -C build ARGS="clean"
purge:
${ENV_RUN} rm -rf $(find build -mindepth 1 -maxdepth 1 -type d)
${ENV_RUN} rm -rf $(shell find build -mindepth 1 -maxdepth 1 -type d)
test:
${ENV_RUN} make -j -C build ARGS="test"
run: make
+3 -14
View File
@@ -32,23 +32,12 @@ find_library(GBA_LIBRARY
PATHS
/lib
)
find_library(FILESYSTEM_LIBRARY
NAMES
filesystem
PATHS
/lib
)
find_library(FAT_LIBRARY
NAMES
fat
PATHS
/lib
)
find_path(GBA_INCLUDE_DIR gba.h
PATHS
/include
)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(GBA DEFAULT_MSG GBA_LIBRARY
FAT_LIBRARY FILESYSTEM_LIBRARY)
find_package_handle_standard_args(GBA DEFAULT_MSG GBA_LIBRARY)
set(CMAKE_INSTALL_PREFIX ${DEVKITARM})