diff --git a/CMakeLists.txt b/CMakeLists.txt index 95c4d425e..b130c1d92 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,6 +28,8 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") include(TargetArch) target_architecture(CMAKE_TARGET_ARCHITECTURES) +include(CPack) + include(CMakeDependentOption) add_compile_definitions(CMAKE) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b5e9746a8..48324bc99 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -94,6 +94,11 @@ else() add_subdirectory(codegen) endif() +install(TARGETS 86Box) +if(VCPKG_TOOLCHAIN) + x_vcpkg_install_local_dependencies(TARGETS 86Box DESTINATION "bin") +endif() + add_subdirectory(device) add_subdirectory(disk) add_subdirectory(floppy)