Skip to content

Commit 87d18e6

Browse files
authored
Fix Linux build : setup script; link libraries; install path (#21)
* fix setup script; link libraries; install path * use cmake build command instead
1 parent e1e9290 commit 87d18e6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CMakeLists.txt

+3-3
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
)
321-
endif()
321+
endif()

build.sh

100644100755
File mode changed.

setup.sh

100644100755
+1-1
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ else
3737
cmake -DCMAKE_BUILD_TYPE=Release ..
3838
fi
3939

40-
cmake --build . --config Release
40+
cmake --build . --config Release

0 commit comments

Comments
 (0)