Skip to content

Commit 044ba07

Browse files
committed
Update setup and build configuration for Linux
1 parent ac2aeec commit 044ba07

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

Diff for: CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ if(UNIX)
5353
add_definitions( -D__cdecl= )
5454
set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)
5555
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 -Wno-multichar")
56-
link_libraries(stdc++fs pthread dl)
56+
link_libraries(stdc++fs pthread dl pango-1.0 pangocairo-1.0)
5757
endif()
5858
else()
5959
## spotted to not be set by default on VS CLI. Here we assume any non-Unix
@@ -316,6 +316,6 @@ elseif(WIN)
316316
)
317317
elseif(LINUX)
318318
install(TARGETS ${target}
319-
DESTINATION "/usr/lib/lxvst"
319+
DESTINATION "/usr/local/lib/vst3/"
320320
)
321321
endif()

Diff for: README.md

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ sh setup.sh --platform PLATFORM
2424

2525
Where optional flag _--platform_ can be either `mac` or `linux` (defaults to linux).
2626

27+
Linux users might be interested in the [required packages](https://steinbergmedia.github.io/vst3_dev_portal/pages/Getting+Started/How+to+setup+my+system.html#for-linux).
28+
2729
##### Installation on Windows:
2830

2931
```

Diff for: build.sh

100644100755
File mode changed.

Diff for: setup.sh

100644100755
+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ if [ "$platform" == "mac" ]; then
3434
cmake -GXcode -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" ${FLAGS} ..
3535
else
3636
echo "Building for Linux..."
37-
make
37+
cmake -DCMAKE_BUILD_TYPE=Release ..
3838
fi
3939

4040
cmake --build . --config Release

0 commit comments

Comments
 (0)