Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Sources/TSCBasic/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ target_link_libraries(TSCBasic PRIVATE
TSCLibc)
if(NOT CMAKE_SYSTEM_NAME STREQUAL Darwin)
if(Foundation_FOUND)
target_link_libraries(TSCBasic PUBLIC
Foundation)
target_link_directories(TSCBasic PUBLIC
$<TARGET_LINKER_FILE_DIR:Foundation>)
endif()
endif()
target_link_libraries(TSCBasic PRIVATE
Expand Down
4 changes: 2 additions & 2 deletions Sources/TSCUtility/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ if(NOT CMAKE_SYSTEM_NAME STREQUAL Darwin)
target_link_directories(TSCUtility PRIVATE /usr/local/lib)
endif()
if(Foundation_FOUND)
target_link_libraries(TSCUtility PUBLIC
FoundationNetworking)
target_link_directories(TSCUtility PUBLIC
$<TARGET_LINKER_FILE_DIR:FoundationNetworking>)
endif()
endif()
# NOTE(compnerd) workaround for CMake not setting up include flags yet
Expand Down