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: clean:
${ENV_RUN} make -j -C build ARGS="clean" ${ENV_RUN} make -j -C build ARGS="clean"
purge: 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: test:
${ENV_RUN} make -j -C build ARGS="test" ${ENV_RUN} make -j -C build ARGS="test"
run: make run: make
+3 -14
View File
@@ -32,23 +32,12 @@ find_library(GBA_LIBRARY
PATHS PATHS
/lib /lib
) )
find_library(FILESYSTEM_LIBRARY
NAMES
filesystem
PATHS
/lib
)
find_library(FAT_LIBRARY
NAMES
fat
PATHS
/lib
)
find_path(GBA_INCLUDE_DIR gba.h find_path(GBA_INCLUDE_DIR gba.h
PATHS PATHS
/include /include
) )
include(FindPackageHandleStandardArgs) include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(GBA DEFAULT_MSG GBA_LIBRARY find_package_handle_standard_args(GBA DEFAULT_MSG GBA_LIBRARY)
FAT_LIBRARY FILESYSTEM_LIBRARY)
set(CMAKE_INSTALL_PREFIX ${DEVKITARM})