cmake: use defines of ITPP module

This commit is contained in:
Bastian Bloessl
2014-09-20 21:56:45 +02:00
parent 496c874b04
commit 9d5a2ba182
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -104,6 +104,7 @@ include_directories(
${CMAKE_SOURCE_DIR}/include
${Boost_INCLUDE_DIRS}
${CPPUNIT_INCLUDE_DIRS}
${ITPP_INCLUDE_DIR}
${GNURADIO_RUNTIME_INCLUDE_DIRS}
)
+3 -1
View File
@@ -94,6 +94,7 @@ include_directories(
${GNURADIO_RUNTIME_INCLUDE_DIRS}
${VOLK_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
${ITPP_INCLUDE_DIR}
)
########################################################################
@@ -124,11 +125,12 @@ list(APPEND gr_ieee802_11_libs
${GNURADIO_PMT_LIBRARIES}
${GNURADIO_FILTER_LIBRARIES}
${GNURADIO_DIGITAL_LIBRARIES}
${ITPP_LIBRARIES}
)
add_library(gnuradio-ieee802_11 SHARED ${gr_ieee802_11_sources})
add_dependencies(gnuradio-ieee802_11 ieee802_11_generated_includes)
target_link_libraries(gnuradio-ieee802_11 ${gr_ieee802_11_libs} itpp log4cpp)
target_link_libraries(gnuradio-ieee802_11 ${gr_ieee802_11_libs} log4cpp)
set_target_properties(gnuradio-ieee802_11 PROPERTIES DEFINE_SYMBOL "gnuradio_ieee802_11_EXPORTS")
########################################################################