fixed CMakeLists.txt to allow building and debugging with Visual Studio Code and CMAKE Tools extension
This commit is contained in:
parent
ac8ba58585
commit
dd928bffc1
|
|
@ -163,7 +163,13 @@ if(STATIC)
|
|||
|
||||
target_compile_definitions(raylib_static
|
||||
PUBLIC ${PLATFORM_CPP}
|
||||
PUBLIC PLATFORM=${PLATFORM_CPP}
|
||||
PUBLIC ${GRAPHICS}
|
||||
PUBLIC GRAPHICS=${GRAPHICS}
|
||||
)
|
||||
|
||||
target_link_libraries(raylib_static
|
||||
PUBLIC ${LIBS_PRIVATE}
|
||||
)
|
||||
|
||||
set(PKG_CONFIG_LIBS_PRIVATE ${__PKG_CONFIG_LIBS_PRIVATE} ${GLFW_PKG_LIBS})
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user