samples/cmake: Update to use new cmake functions.

This commit is contained in:
James Benton
2019-11-23 10:10:43 +00:00
parent 217bf98474
commit bffffdf515
8 changed files with 10 additions and 11 deletions

View File

@@ -5,8 +5,7 @@ include("${DEVKITPRO}/wut/share/wut.cmake" REQUIRED)
add_executable(helloworld_cpp
main.cpp)
wut_create_rpx(helloworld_cpp.rpx
helloworld_cpp)
wut_create_rpx(helloworld_cpp)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/helloworld_cpp.rpx"
DESTINATION "${CMAKE_INSTALL_PREFIX}")