Commit b6435ca7 authored by Oliver Horst's avatar Oliver Horst
Browse files

[chg] Corrected link dependencies and visibility

parent f5bb1c76
...@@ -22,17 +22,17 @@ find_package( ...@@ -22,17 +22,17 @@ find_package(
) )
find_package( find_package(
toki-libc-headers 0.1 toki-hal-headers 0.1
REQUIRED REQUIRED
) )
find_package( find_package(
toki-hal-headers 0.1 toki-perfmon 0.1
REQUIRED REQUIRED
) )
find_package( find_package(
toki-perfmon 0.1 toki-libc-repl 0.1
REQUIRED REQUIRED
) )
...@@ -47,11 +47,11 @@ add_library( ...@@ -47,11 +47,11 @@ add_library(
target_link_libraries( target_link_libraries(
freertos-portable freertos-portable
# #
PUBLIC freertos-headers PUBLIC xil
toki-libc-headers freertos-headers
toki-hal-headers toki-hal-headers
xil
toki-perfmon toki-perfmon
PRIVATE toki-libc-repl
) )
target_include_directories( target_include_directories(
......
...@@ -5,7 +5,7 @@ include(CMakeFindDependencyMacro) ...@@ -5,7 +5,7 @@ include(CMakeFindDependencyMacro)
find_dependency(xil) find_dependency(xil)
find_dependency(freertos-headers) find_dependency(freertos-headers)
find_dependency(toki-perfmon) find_dependency(toki-perfmon)
find_dependency(toki-libc-headers) find_dependency(toki-libc-repl)
find_dependency(toki-hal-headers) find_dependency(toki-hal-headers)
# Import targets # Import targets
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment