light/tools/cmake/definitions.cmake
light7734 01f20c325a
Some checks reported errors
continuous-integration/drone/push Build was killed
build: removed unused cmake code + minor renaming
2026-02-13 13:24:35 +03:30

10 lines
211 B
CMake

if(WIN32)
add_compile_definitions(LIGHT_PLATFORM_WINDOWS)
elseif(UNIX)
add_compile_definitions(LIGHT_PLATFORM_LINUX)
else()
message(FATAL "Failed to generate cmake: unsupported platform")
endif()