mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 14:19:55 -06:00
Merge pull request #342 from pedrovelho/master
Add dependencies to readme and fix a cmake warning from sdl2 trailing space
This commit is contained in:
@ -172,6 +172,7 @@ endif (UNIX)
|
|||||||
|
|
||||||
find_package(SDL2 REQUIRED)
|
find_package(SDL2 REQUIRED)
|
||||||
include_directories(${SDL2_INCLUDE_DIR})
|
include_directories(${SDL2_INCLUDE_DIR})
|
||||||
|
string(STRIP ${SDL2_LIBRARIES} SDL2_LIBRARIES)
|
||||||
link_libraries(${SDL2_LIBRARIES})
|
link_libraries(${SDL2_LIBRARIES})
|
||||||
|
|
||||||
add_executable(${PROJECT_WX} ${SOURCES})
|
add_executable(${PROJECT_WX} ${SOURCES})
|
||||||
|
10
README.md
10
README.md
@ -35,6 +35,14 @@ As for the rest, the interface should be pretty straightforward. If you have a q
|
|||||||
|
|
||||||
### Linux:
|
### Linux:
|
||||||
|
|
||||||
|
* Install dependencies:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
sudo apt-get install libpcap0.8-dev libcurl4-gnutls-dev libsdl2-dev gtk+-3.0
|
||||||
|
```
|
||||||
|
|
||||||
|
* Compile:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
cd build
|
cd build
|
||||||
@ -42,6 +50,8 @@ cmake ..
|
|||||||
make
|
make
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Windows:
|
### Windows:
|
||||||
|
|
||||||
* use CodeBlocks
|
* use CodeBlocks
|
||||||
|
Reference in New Issue
Block a user