Update INSTALL.md
This commit is contained in:
parent
4c5a1cc825
commit
fef144283f
|
@ -5,7 +5,7 @@ The build method maintained by OpenJPEG is [CMake](https://cmake.org/).
|
||||||
|
|
||||||
## UNIX/LINUX - MacOS (terminal) - WINDOWS (cygwin, MinGW)
|
## UNIX/LINUX - MacOS (terminal) - WINDOWS (cygwin, MinGW)
|
||||||
|
|
||||||
To build the library, type in root openjpeg directory:
|
To build the library, type from source tree directory:
|
||||||
```
|
```
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
|
@ -72,4 +72,4 @@ find_package(OpenJPEG REQUIRED)
|
||||||
include_directories(${OPENJPEG_INCLUDE_DIRS})
|
include_directories(${OPENJPEG_INCLUDE_DIRS})
|
||||||
add_executable(myapp myapp.c)
|
add_executable(myapp myapp.c)
|
||||||
target_link_libraries(myapp ${OPENJPEG_LIBRARIES})
|
target_link_libraries(myapp ${OPENJPEG_LIBRARIES})
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue