Try to make dependency private
This commit is contained in:
@@ -42,7 +42,7 @@ install(FILES ${jlog_HEADERS} DESTINATION include/${PROJECT_NAME})
|
||||
|
||||
#add_subdirectory(tests)
|
||||
|
||||
target_link_libraries(jlog PUBLIC Event)
|
||||
target_link_libraries(jlog PRIVATE Event)
|
||||
|
||||
add_executable(LoggerDemo main.cpp)
|
||||
target_link_libraries(LoggerDemo PUBLIC ${PROJECT_NAME})
|
||||
|
Reference in New Issue
Block a user