File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,16 +16,16 @@ target_link_libraries( uda_cli PRIVATE Boost::program_options )
16
16
if ( ENABLE_CAPNP )
17
17
find_package ( CapnProto REQUIRED )
18
18
19
- target_link_libraries ( uda_cli PRIVATE serialisation-static )
19
+ target_link_libraries ( uda_cli PRIVATE serialisation-static )
20
+ target_compile_definitions ( uda_cli PRIVATE CAPNP_ENABLED=1 )
20
21
21
22
find_library ( STDCXX_LIBRARY_FILE stdc++ HINTS ${CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES} )
22
23
get_filename_component (STDCXX_LIBRARY_DIR ${STDCXX_LIBRARY_FILE} DIRECTORY )
23
24
24
25
if ( "${STDCXX_LIBRARY_DIR} " STREQUAL "" )
25
26
set ( STDCXX_RPATH "" )
26
27
else ()
27
- set ( STDCXX_RPATH "-Wl,-rpath,${STDCXX_LIBRARY_DIR} -L${STDCXX_LIBRARY_DIR} -lstdc++" )
28
-
28
+ set ( STDCXX_RPATH "-Wl,-rpath,${STDCXX_LIBRARY_DIR} -L${STDCXX_LIBRARY_DIR} -lstdc++" )
29
29
endif ()
30
30
31
31
if ( "${capnp_LIBRARY_DIRS} " STREQUAL "" )
You can’t perform that action at this time.
0 commit comments