@ -30,8 +30,8 @@ target_link_libraries(${PROJECT_NAME} raylib)
# W e b C o n f i g u r a t i o n s
# W e b C o n f i g u r a t i o n s
if ( ${ PLATFORM } STREQUAL "Web" )
if ( ${ PLATFORM } STREQUAL "Web" )
# T e l l E m s c r i p t e n t o b u i l d a n e x a m p l e . h t m l f i l e .
set_target_properties ( ${ PROJECT_NAME } PROPERTIES SUFFIX ".html " )
nb">set_target_properties ( ${ PROJECT_NAME } PROPERTIES SUFFIX ".html" ) # T e l l E m s c r i p t e n t o b u i l d a n e x a m p l e . h t m l f i l e .
set( CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -s USE_GLFW=3 -s ASSERTIONS=1 -s WASM=1 -s ASYNCIFY -s GL_ENABLE_GET_PROC_ADDRESS=1 " )
endif ( )
endif ( )
# C h e c k s i f O S X a n d l i n k s a p p r o p r i a t e frameworks ( Only required on MacOS )
# C h e c k s i f O S X a n d l i n k s a p p r o p r i a t e frameworks ( Only required on MacOS )