Re: [CMake] add_library ALIAS

2018-11-19 Thread Alan W. Irwin
On 2018-11-19 14:20- rmawatson rmawatson wrote: I am trying to figure out exactly what this line is for in the cmake file of the github json project here -> https://github.com/nlohmann/json/blob/develop/CMakeLists.txt#L48 add_library(${PROJECT_NAME}::${NLOHMANN_JSON_TARGET_NAME} ALIAS

Re: [CMake] add_library ALIAS

2018-11-19 Thread Craig Scott
On Tue, Nov 20, 2018 at 1:20 AM rmawatson rmawatson wrote: > I am trying to figure out exactly what this line is for in the cmake file > of the github json project here -> > https://github.com/nlohmann/json/blob/develop/CMakeLists.txt#L48 > >

[CMake] add_library ALIAS

2018-11-19 Thread rmawatson rmawatson
I am trying to figure out exactly what this line is for in the cmake file of the github json project here -> https://github.com/nlohmann/json/blob/develop/CMakeLists.txt#L48 add_library(${PROJECT_NAME}::${NLOHMANN_JSON_TARGET_NAME} ALIAS ${NLOHMANN_JSON_TARGET_NAME}) Specifically with this