Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
cmake: fix log4cpp
  • Loading branch information
bastibl committed Jan 2, 2017
1 parent 8d80d0a commit 16d8e8c
Show file tree
Hide file tree
Showing 26 changed files with 48 additions and 27 deletions.
1 change: 1 addition & 0 deletions gr-analog/swig/CMakeLists.txt
Expand Up @@ -29,6 +29,7 @@ set(GR_SWIG_INCLUDE_DIRS
${GR_FILTER_INCLUDE_DIRS}
${GNURADIO_RUNTIME_SWIG_INCLUDE_DIRS}
${VOLK_INCLUDE_DIRS}
${LOG4CPP_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
)

Expand Down
1 change: 1 addition & 0 deletions gr-audio/examples/c++/CMakeLists.txt
Expand Up @@ -21,6 +21,7 @@ include_directories(
${GR_AUDIO_INCLUDE_DIRS}
${GR_ANALOG_INCLUDE_DIRS}
${GNURADIO_RUNTIME_INCLUDE_DIRS}
${LOG4CPP_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
)

Expand Down
1 change: 1 addition & 0 deletions gr-audio/swig/CMakeLists.txt
Expand Up @@ -26,6 +26,7 @@ include(GrSwig)
set(GR_SWIG_INCLUDE_DIRS
${GR_AUDIO_INCLUDE_DIRS}
${GNURADIO_RUNTIME_SWIG_INCLUDE_DIRS}
${LOG4CPP_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
)

Expand Down
1 change: 1 addition & 0 deletions gr-blocks/swig/CMakeLists.txt
Expand Up @@ -27,6 +27,7 @@ set(GR_SWIG_INCLUDE_DIRS
${GR_BLOCKS_INCLUDE_DIRS}
${GNURADIO_RUNTIME_INCLUDE_DIRS}
${GNURADIO_RUNTIME_SWIG_INCLUDE_DIRS}
${LOG4CPP_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
)

Expand Down
1 change: 1 addition & 0 deletions gr-channels/lib/CMakeLists.txt
Expand Up @@ -28,6 +28,7 @@ include_directories(
${GR_FILTER_INCLUDE_DIRS}
${GR_ANALOG_INCLUDE_DIRS}
${GNURADIO_RUNTIME_INCLUDE_DIRS}
${LOG4CPP_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
)

Expand Down
1 change: 1 addition & 0 deletions gr-channels/swig/CMakeLists.txt
Expand Up @@ -27,6 +27,7 @@ set(GR_SWIG_INCLUDE_DIRS
${GR_CHANNELS_INCLUDE_DIRS}
${GR_FILTER_INCLUDE_DIRS}
${GNURADIO_RUNTIME_SWIG_INCLUDE_DIRS}
${LOG4CPP_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
)

Expand Down
4 changes: 2 additions & 2 deletions gr-comedi/lib/CMakeLists.txt
Expand Up @@ -23,13 +23,13 @@
include_directories(
${GR_COMEDI_INCLUDE_DIRS}
${GNURADIO_RUNTIME_INCLUDE_DIRS}
${LOG4CXX_INCLUDE_DIRS}
${LOG4CPP_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
${COMEDI_INCLUDE_DIRS}
)

link_directories(
${LOG4CXX_LIBRARY_DIRS}
${LOG4CPP_LIBRARY_DIRS}
${Boost_LIBRARY_DIRS}
${COMEDI_LIBRARY_DIRS}
)
Expand Down
1 change: 1 addition & 0 deletions gr-comedi/swig/CMakeLists.txt
Expand Up @@ -26,6 +26,7 @@ include(GrSwig)
set(GR_SWIG_INCLUDE_DIRS
${GR_COMEDI_INCLUDE_DIRS}
${GNURADIO_RUNTIME_SWIG_INCLUDE_DIRS}
${LOG4CPP_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
)

Expand Down
1 change: 1 addition & 0 deletions gr-digital/swig/CMakeLists.txt
Expand Up @@ -31,6 +31,7 @@ set(GR_SWIG_INCLUDE_DIRS
${GR_FILTER_INCLUDE_DIRS}
${GNURADIO_RUNTIME_SWIG_INCLUDE_DIRS}
${VOLK_INCLUDE_DIRS}
${LOG4CPP_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
)

Expand Down
5 changes: 4 additions & 1 deletion gr-dtv/lib/CMakeLists.txt
Expand Up @@ -27,11 +27,14 @@ include_directories(
${GR_ANALOG_INCLUDE_DIRS}
${GR_FEC_INCLUDE_DIRS}
${GNURADIO_RUNTIME_INCLUDE_DIRS}
${LOG4CPP_INCLUDE_DIRS}
${VOLK_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
)

link_directories(${Boost_LIBRARY_DIRS})
link_directories(${Boost_LIBRARY_DIRS}
${GSL_LIBRARY_DIRS}
)

if(ENABLE_GR_CTRLPORT)
ADD_DEFINITIONS(-DGR_CTRLPORT)
Expand Down
1 change: 1 addition & 0 deletions gr-dtv/swig/CMakeLists.txt
Expand Up @@ -26,6 +26,7 @@ include(GrSwig)
set(GR_SWIG_INCLUDE_DIRS
${GR_DTV_INCLUDE_DIRS}
${GNURADIO_RUNTIME_SWIG_INCLUDE_DIRS}
${LOG4CPP_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
)

Expand Down
1 change: 1 addition & 0 deletions gr-fec/swig/CMakeLists.txt
Expand Up @@ -27,6 +27,7 @@ set(GR_SWIG_INCLUDE_DIRS
${CMAKE_CURRENT_BINARY_DIR}/../include
${GR_FEC_INCLUDE_DIRS}
${GNURADIO_RUNTIME_SWIG_INCLUDE_DIRS}
${LOG4CPP_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
)

Expand Down
1 change: 1 addition & 0 deletions gr-qtgui/examples/c++/CMakeLists.txt
Expand Up @@ -24,6 +24,7 @@ include_directories(
${GR_BLOCKS_INCLUDE_DIRS}
${GR_FFT_INCLUDE_DIRS}
${GNURADIO_RUNTIME_INCLUDE_DIRS}
${LOG4CPP_INCLUDE_DIRS}
${QT_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
)
Expand Down
1 change: 1 addition & 0 deletions gr-qtgui/swig/CMakeLists.txt
Expand Up @@ -33,6 +33,7 @@ set(GR_SWIG_INCLUDE_DIRS
${GNURADIO_RUNTIME_SWIG_INCLUDE_DIRS}
${QWT_INCLUDE_DIRS}
${QT_INCLUDE_DIRS}
${LOG4CPP_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
)

Expand Down
7 changes: 4 additions & 3 deletions gr-trellis/lib/CMakeLists.txt
Expand Up @@ -25,12 +25,13 @@ include_directories(
${GR_TRELLIS_INCLUDE_DIRS}
${GR_DIGITAL_INCLUDE_DIRS}
${GNURADIO_RUNTIME_INCLUDE_DIRS}
${LOG4CXX_INCLUDE_DIRS}
${LOG4CPP_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
)

link_directories(${Boost_LIBRARY_DIRS})
link_directories(${LOG4CXX_LIBRARY_DIRS})
link_directories(
${LOG4CPP_LIBRARY_DIRS}
${Boost_LIBRARY_DIRS})

if(ENABLE_GR_CTRLPORT)
ADD_DEFINITIONS(-DGR_CTRLPORT)
Expand Down
1 change: 1 addition & 0 deletions gr-trellis/swig/CMakeLists.txt
Expand Up @@ -27,6 +27,7 @@ set(GR_SWIG_INCLUDE_DIRS
${GR_TRELLIS_INCLUDE_DIRS}
${GR_DIGITAL_INCLUDE_DIRS}
${GNURADIO_RUNTIME_SWIG_INCLUDE_DIRS}
${LOG4CPP_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
)

Expand Down
1 change: 1 addition & 0 deletions gr-uhd/examples/c++/CMakeLists.txt
Expand Up @@ -24,6 +24,7 @@ include_directories(
${CMAKE_CURRENT_SOURCE_DIR}
${GR_UHD_INCLUDE_DIRS}
${GNURADIO_RUNTIME_INCLUDE_DIRS}
${LOG4CPP_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
${UHD_INCLUDE_DIRS}
)
Expand Down
11 changes: 4 additions & 7 deletions gr-uhd/lib/CMakeLists.txt
Expand Up @@ -25,23 +25,20 @@ include_directories(
${GR_UHD_INCLUDE_DIRS}
${GNURADIO_RUNTIME_INCLUDE_DIRS}
${UHD_INCLUDE_DIRS}
${LOG4CXX_INCLUDE_DIRS}
${LOG4CPP_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
)

link_directories(
${UHD_LIBRARY_DIRS}
${LOG4CXX_LIBRARY_DIRS}
${Boost_LIBRARY_DIRS}
${UHD_LIBRARY_DIRS}
${LOG4CPP_LIBRARY_DIRS}
${Boost_LIBRARY_DIRS}
)

if(ENABLE_GR_CTRLPORT)
ADD_DEFINITIONS(-DGR_CTRLPORT)
endif(ENABLE_GR_CTRLPORT)

include_directories(${LOG4CPP_INCLUDE_DIRS})
link_directories(${LOG4CPP_LIBRARY_DIRS})

########################################################################
# Setup library
########################################################################
Expand Down
1 change: 1 addition & 0 deletions gr-uhd/swig/CMakeLists.txt
Expand Up @@ -29,6 +29,7 @@ set(GR_SWIG_INCLUDE_DIRS
${GR_UHD_INCLUDE_DIRS}
${GNURADIO_RUNTIME_SWIG_INCLUDE_DIRS}
${UHD_INCLUDE_DIRS}
${LOG4CPP_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
)

Expand Down
7 changes: 4 additions & 3 deletions gr-video-sdl/lib/CMakeLists.txt
Expand Up @@ -23,13 +23,14 @@
include_directories(
${GR_VIDEO_SDL_INCLUDE_DIRS}
${GNURADIO_RUNTIME_INCLUDE_DIRS}
${LOG4CXX_INCLUDE_DIRS}
${LOG4CPP_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
${SDL_INCLUDE_DIR}
)

link_directories(${LOG4CXX_LIBRARY_DIRS})
link_directories(${Boost_LIBRARY_DIRS})
link_directories(
${LOG4CPP_LIBRARY_DIRS}
${Boost_LIBRARY_DIRS})

if(ENABLE_GR_CTRLPORT)
ADD_DEFINITIONS(-DGR_CTRLPORT)
Expand Down
1 change: 1 addition & 0 deletions gr-video-sdl/swig/CMakeLists.txt
Expand Up @@ -26,6 +26,7 @@ include(GrSwig)
set(GR_SWIG_INCLUDE_DIRS
${GR_VIDEO_SDL_INCLUDE_DIRS}
${GNURADIO_RUNTIME_SWIG_INCLUDE_DIRS}
${LOG4CPP_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
)

Expand Down
9 changes: 4 additions & 5 deletions gr-vocoder/lib/CMakeLists.txt
Expand Up @@ -23,19 +23,18 @@
include_directories(
${GR_VOCODER_INCLUDE_DIRS}
${GNURADIO_RUNTIME_INCLUDE_DIRS}
${LOG4CXX_INCLUDE_DIRS}
${LOG4CPP_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
)

link_directories(${LOG4CXX_LIBRARY_DIRS})
link_directories(${Boost_LIBRARY_DIRS})
link_directories(
${LOG4CPP_LIBRARY_DIRS}
${Boost_LIBRARY_DIRS})

if(ENABLE_GR_CTRLPORT)
ADD_DEFINITIONS(-DGR_CTRLPORT)
endif(ENABLE_GR_CTRLPORT)

include_directories(${LOG4CPP_INCLUDE_DIRS})
link_directories(${LOG4CPP_LIBRARY_DIRS})

########################################################################
# Setup library
Expand Down
1 change: 1 addition & 0 deletions gr-vocoder/swig/CMakeLists.txt
Expand Up @@ -26,6 +26,7 @@ include(GrSwig)
set(GR_SWIG_INCLUDE_DIRS
${GR_VOCODER_INCLUDE_DIRS}
${GNURADIO_RUNTIME_SWIG_INCLUDE_DIRS}
${LOG4CPP_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
)

Expand Down
13 changes: 7 additions & 6 deletions gr-wavelet/lib/CMakeLists.txt
Expand Up @@ -26,16 +26,17 @@ include_directories(
${GR_WAVELET_INCLUDE_DIRS}
${GR_BLOCKS_INCLUDE_DIRS}
${GNURADIO_RUNTIME_INCLUDE_DIRS}
${LOG4CXX_INCLUDE_DIRS}
${LOG4CPP_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
${GSL_INCLUDE_DIRS}
)

# is this correct?
link_directories(${GR_WAVELET_LIBRARY_DIRS})
link_directories(${LOG4CXX_LIBRARY_DIRS})
link_directories(${Boost_LIBRARY_DIRS})
link_directories(${GSL_LIBRARY_DIRS})
link_directories(
${GR_WAVELET_LIBRARY_DIRS}
${LOG4CPP_LIBRARY_DIRS}
${Boost_LIBRARY_DIRS}
${GSL_LIBRARY_DIRS})

add_definitions(${GSL_DEFINITIONS})

if(ENABLE_GR_CTRLPORT)
Expand Down
1 change: 1 addition & 0 deletions gr-wavelet/swig/CMakeLists.txt
Expand Up @@ -27,6 +27,7 @@ set(GR_SWIG_INCLUDE_DIRS
${GR_WAVELET_INCLUDE_DIRS}
${GR_BLOCKS_INCLUDE_DIRS}
${GNURADIO_RUNTIME_SWIG_INCLUDE_DIRS}
${LOG4CPP_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
${GSL_INCLUDE_DIRS}
)
Expand Down
1 change: 1 addition & 0 deletions gr-zeromq/swig/CMakeLists.txt
Expand Up @@ -27,6 +27,7 @@ set(GR_SWIG_INCLUDE_DIRS
${GR_ZEROMQ_INCLUDE_DIRS}
${GNURADIO_RUNTIME_SWIG_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
${LOG4CPP_INCLUDE_DIRS}
${ZEROMQ_INCLUDE_DIRS}
)

Expand Down

0 comments on commit 16d8e8c

Please sign in to comment.