light/tools/cmake/definitions.cmake
light7734 90c0147660
Some checks reported errors
continuous-integration/drone/push Build was killed
wip: convert from include style to module import style :D
2025-11-14 18:58:02 +03:30

7 lines
208 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()