Add ghrapics
This commit is contained in:
@@ -48,6 +48,17 @@ FetchContent_Declare(cpr GIT_REPOSITORY https://github.com/libcpr/cpr.git
|
||||
GIT_TAG dec9422db3af470641f8b0d90e4b451c4daebf64) # Replace with your desired git commit from: https://github.com/libcpr/cpr/releases
|
||||
FetchContent_MakeAvailable(cpr)
|
||||
|
||||
# fetch asio
|
||||
FetchContent_Declare(asio
|
||||
GIT_REPOSITORY git@github.com:chriskohlhoff/asio.git
|
||||
GIT_TAG master
|
||||
CONFIGURE_COMMAND ""
|
||||
BUILD_COMMAND ""
|
||||
)
|
||||
FetchContent_GetProperties(asio)
|
||||
if(NOT asio_POPULATED)
|
||||
FetchContent_Populate(asio)
|
||||
endif()
|
||||
|
||||
find_library(GDIPLUS_LIBRARY NAMES libgdiplus gdiplus)
|
||||
set(GDIPLUS_LIBRARY gdiplus)
|
||||
@@ -65,7 +76,7 @@ set(SRC_FILES
|
||||
|
||||
add_executable(${PROJECT_NAME} WIN32 ${SRC_FILES})
|
||||
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE cpr::cpr sol2 lua::lua ${LIBS})
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE cpr::cpr sol2 lua::lua ${LIBS} )
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user