Update CompileDefinitions.cmake

Reverting
This commit is contained in:
Lázaro Albuquerque 2024-06-09 19:16:47 -04:00 committed by GitHub
parent aa44e01900
commit 4f08618942
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,6 @@
# Adding compile definitions
target_compile_definitions("raylib" INTERFACE "${PLATFORM_CPP}")
target_compile_definitions("raylib" INTERFACE "${GRAPHICS}")
target_compile_definitions("raylib" PUBLIC "${PLATFORM_CPP}")
target_compile_definitions("raylib" PUBLIC "${GRAPHICS}")
function(define_if target variable)
if(${${variable}})