Move CMake install location to devkitARM directory for GBA builds
This commit is contained in:
@@ -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
@@ -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})
|
||||||
|
|||||||
Reference in New Issue
Block a user