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