mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 10:31:50 +00:00
Use high-resolution timer for a better frame time
This commit is contained in:
parent
a964eeeca6
commit
3f531bbf98
4 changed files with 47 additions and 10 deletions
|
|
@ -70,6 +70,10 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
|||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -no-pie -lstdc++fs")
|
||||
endif()
|
||||
|
||||
if (WIN32)
|
||||
target_link_libraries(${PROJECT_NAME} VoxelEngineSrc winmm)
|
||||
endif()
|
||||
|
||||
target_link_libraries(${PROJECT_NAME} VoxelEngineSrc ${CMAKE_DL_LIBS})
|
||||
|
||||
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/res DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue