Failed when compile with MSVC
Haruma-VN opened this issue · 1 comments
Haruma-VN commented
I tried to add the library and compile with MSVC (CXX 20) and this happened
I am using cmake, and here is the custom CMakeLists I wrote for it (Noticed that I add the subdirectory to the current project):
project(
HTTPRequest
VERSION 0
HOMEPAGE_URL https://github.com/elnormous/HTTPRequest
LANGUAGES CXX
)
add_library(
${PROJECT_NAME} INTERFACE
./HTTPRequest.hpp
)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set_target_properties(${PROJECT_NAME} PROPERTIES LINKER_LANGUAGE CXX)
Can you help me solve the current issue, thank you very much!
Haruma-VN commented
Nvm i solved it myself.