diff --git a/cmake/RpcLibWrapper/CMakeLists.txt b/cmake/RpcLibWrapper/CMakeLists.txt index 5b6e52c5..1323ceaf 100644 --- a/cmake/RpcLibWrapper/CMakeLists.txt +++ b/cmake/RpcLibWrapper/CMakeLists.txt @@ -11,4 +11,4 @@ if(UNIX) set(CMAKE_CXX_FLAGS "${RPC_LIB_DEFINES} ${CMAKE_CXX_FLAGS}") endif() -add_subdirectory("${AUTONOMYSIM_ROOT}/external/rpclib/${RPCLIB_VERSION_FOLDER}" "${CMAKE_CURRENT_BINARY_DIR}/rpclib") +add_subdirectory("${AUTONOMYSIM_ROOT}/external/rpclib/$rpclib-{RPCLIB_VERSION}" "${CMAKE_CURRENT_BINARY_DIR}/rpclib")