adding build flags
This commit is contained in:
parent
eb9b491bc7
commit
379cfe1460
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue