mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 02:09:26 +08:00
packages.vm: fix
This commit is contained in:
@@ -15,7 +15,7 @@ add_executable(vm src/main.cpp)
|
|||||||
target_compile_features(vm PUBLIC cxx_std_23)
|
target_compile_features(vm PUBLIC cxx_std_23)
|
||||||
target_link_libraries(vm PRIVATE biu::biu)
|
target_link_libraries(vm PRIVATE biu::biu)
|
||||||
if(VM_CONFIG)
|
if(VM_CONFIG)
|
||||||
target_compile_definitions(vm PRIVATE VM_CONFIG="${VMCONFIG}")
|
target_compile_definitions(vm PRIVATE VM_CONFIG="${VM_CONFIG}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
install(TARGETS vm RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
install(TARGETS vm RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||||
|
|||||||
Reference in New Issue
Block a user