Fix include path

This commit is contained in:
Dawid Drozd 2018-07-24 15:00:15 +02:00
parent 9939fd0980
commit b5dc5c0558
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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