adding build flags

This commit is contained in:
Kyle Isom 2023-10-11 17:57:48 -07:00
parent eb9b491bc7
commit 379cfe1460
1 changed files with 4 additions and 0 deletions

View File

@ -35,6 +35,10 @@ else()
# nothing special for gcc at the moment
endif()
endif()
add_compile_definitions(KGE_PLATFORM=${CMAKE_HOST_SYSTEM_NAME})
add_compile_definitions(KGE_VERSION=${PROJECT_VERSION})
message(STATUS "Build system: ${CMAKE_HOST_SYSTEM_NAME}")
if(${BUILD_GUI})
include(cmake/imgui.cmake)