mirror of
https://github.com/gelldur/EventBus.git
synced 2025-01-14 09:17:56 +08:00
Fix include path
This commit is contained in:
parent
9939fd0980
commit
b5dc5c0558
@ -180,9 +180,9 @@ TARGET_LINK_LIBRARIES(MyExecutable PUBLIC Dexode::EventBus)
|
||||
Also if you want you can install library and add it at any way you want.
|
||||
Eg.
|
||||
```commandline
|
||||
mkdir -p lib/build/install_here
|
||||
mkdir -p lib/build/
|
||||
cd lib/build
|
||||
cmake -DCMAKE_BUILD_TYPE=Relase -DCMAKE_INSTALL_PREFIX=./install_here/ ..
|
||||
cmake -DCMAKE_BUILD_TYPE=Relase -DCMAKE_INSTALL_PREFIX=~/.local/ ..
|
||||
|
||||
cmake --build . --target install
|
||||
# OR
|
||||
|
@ -28,7 +28,7 @@ install(TARGETS EventBus EXPORT EventBusTargets
|
||||
ARCHIVE DESTINATION lib/
|
||||
LIBRARY DESTINATION lib/
|
||||
RUNTIME DESTINATION bin/
|
||||
INCLUDES DESTINATION lib/include/
|
||||
INCLUDES DESTINATION include/
|
||||
)
|
||||
|
||||
install(EXPORT EventBusTargets
|
||||
|
Loading…
x
Reference in New Issue
Block a user