target_link_libraries( ${PROJECT_NAME}
PUBLIC ExpressionsLib}
)
To Reproduce
It does not harm as long as the OSC-API project is not fetched directly from the repository. If so ${ANTLR4_RUNTIME_LIBRARIES} is not defined.
Expected behavior
if( ${BUILD_SHARED_LIBS} )
set( ANTLR_STATIC_SHARED antlr4_shared )
message( STATUS "${PROJECT_NAME}: using Antlr shared" )
else()
set( ANTLR_STATIC_SHARED antlr4_static )
message( STATUS "${PROJECT_NAME}: using Antlr static" )
endif()
target_link_libraries( ${PROJECT_NAME}
PUBLIC ExpressionsLib ${ANTLR_STATIC_SHARED}
)
Describe the bug In CMake file:
To Reproduce It does not harm as long as the OSC-API project is not fetched directly from the repository. If so ${ANTLR4_RUNTIME_LIBRARIES} is not defined.
Expected behavior