Skip to content

Commit a15961a

Browse files
author
MACHIZAUD Andréa
committed
[triton] fix incorrect library linkage
1 parent acabf13 commit a15961a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ports/triton/portfile.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ vcpkg_from_github(
1010
004-fix-python.patch
1111
)
1212

13-
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" STATICLIB)
13+
string(COMPARE NOTEQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" DYNAMICLIB)
1414
string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "static" STATICCRT)
1515

1616
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
@@ -31,7 +31,7 @@ vcpkg_cmake_configure(
3131
OPTIONS
3232
${FEATURE_OPTIONS}
3333
-DZ3_INTERFACE=ON
34-
-DBUILD_SHARED_LIBS=${STATICLIB}
34+
-DBUILD_SHARED_LIBS=${DYNAMICLIB}
3535
-DMSVC_STATIC=${STATICCRT}
3636
-DBUILD_EXAMPLES=OFF
3737
-DENABLE_TEST=OFF

0 commit comments

Comments
 (0)