RpcView icon indicating copy to clipboard operation
RpcView copied to clipboard

Fix CmakeLists.txt for VS 2019

Open Selora opened this issue 4 years ago • 0 comments

Hey there, I'm too lazy to make a pull request. In order to make this work with VS2019, the following should be added to CMakeLists.txt in ./RpcCore: https://github.com/silverf0x/RpcView/blob/60569c6e6d1ed8f19af61df918e133d6c2c009b1/RpcCore/CMakeLists.txt#L26 to:

if(${CMAKE_GENERATOR} MATCHES "Win64")
            AddRpcCore(${Dir})
elseif(${CMAKE_GENERATOR_PLATFORM} MATCHES "x64")
	    AddRpcCore(${Dir})

Edit: The following line should be used when building the project: cmake -G"Visual Studio 16 2019" -A x64 ../../

This is all because they introduced a new semantic in CMAKE for VS2019.

Cheers

Selora avatar Oct 27 '20 12:10 Selora