seems visualgdb interprets cmake oddly (incorrect?).
cmake_minimum_required (VERSION 3.5)
project(my_project)
…
add_executable(my_project main.cpp src/handler.cpp)
target_link_libraries(my_project pthread boost_system crypto ssl cpprest swe “${LIBRARIES_FROM_REFERENCES}”)
the case above works fine.
however (more correct for cmake , from my perspective) doesn’t work with error from the initial post
cmake_minimum_required (VERSION 3.5)
project(my_project)
…
add_executable(${PROJECT_NAME} main.cpp src/handler.cpp)
target_link_libraries(${PROJECT_NAME} pthread boost_system crypto ssl cpprest swe “${LIBRARIES_FROM_REFERENCES}”)