Skip to content

Commit

Permalink
Ensure gnuradio-plugin_export header is found when using FetchContent
Browse files Browse the repository at this point in the history
  • Loading branch information
frankosterfeld committed Oct 27, 2023
1 parent feba63f commit 7e65703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
add_library(gnuradio-core INTERFACE)
target_include_directories(gnuradio-core INTERFACE $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include/> $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/include/> $<INSTALL_INTERFACE:include/>)
target_include_directories(gnuradio-core INTERFACE $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include/> $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/src> $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/include> $<INSTALL_INTERFACE:include/>)
target_link_libraries(gnuradio-core INTERFACE gnuradio-options gnuradio-meta refl-cpp::refl-cpp pmtv vir)

# configure a header file to pass the CMake settings to the source code
Expand Down

0 comments on commit 7e65703

Please sign in to comment.