Attempt to publicly expose Event subdependency
This commit is contained in:
@@ -42,5 +42,7 @@ install(FILES ${jlog_HEADERS} DESTINATION include/${PROJECT_NAME})
|
||||
|
||||
#add_subdirectory(tests)
|
||||
|
||||
target_link_libraries(jlog PUBLIC Event)
|
||||
|
||||
add_executable(LoggerDemo main.cpp)
|
||||
target_link_libraries(LoggerDemo ${PROJECT_NAME} Event)
|
||||
target_link_libraries(LoggerDemo PUBLIC ${PROJECT_NAME})
|
||||
|
@@ -19,8 +19,8 @@ Include this repository as a CPM dependency, and link against the library.
|
||||
|
||||
```cmake
|
||||
CPMAddPackage(
|
||||
NAME Event
|
||||
URL https://git.redacted.cc/josh/Event/archive/Release-6.zip
|
||||
NAME jlog
|
||||
URL https://git.redacted.cc/josh/jlog/archive/Release-6.zip
|
||||
)
|
||||
# ...
|
||||
include_directories(${jlog_SOURCE_DIR}/include)
|
||||
|
Reference in New Issue
Block a user