Ver a proveniência
Update CompileDefinitions.cmake
Some applications might check for PLATFORM_WEB instead of __EMSCRIPTEN__.
pull/4044/head
Lázaro Albuquerque
há 1 ano
committed by
GitHub
ascendente
cometimento
f53dfb0a8a
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados
ID da chave GPG: B5690EEEBB952194
1 ficheiros alterados com
2 adições e
2 eliminações
-
cmake/CompileDefinitions.cmake
|
|
|
@ -1,6 +1,6 @@ |
|
|
|
# Adding compile definitions |
|
|
|
target_compile_definitions("raylib" PRIVATE "${PLATFORM_CPP}") |
|
|
|
target_compile_definitions("raylib" PRIVATE "${GRAPHICS}") |
|
|
|
target_compile_definitions("raylib" INTERFACE "${PLATFORM_CPP}") |
|
|
|
target_compile_definitions("raylib" INTERFACE "${GRAPHICS}") |
|
|
|
|
|
|
|
function(define_if target variable) |
|
|
|
if(${${variable}}) |
|
|
|
|