Skip to content

Commit c4143af

Browse files
committed
include .lib
1 parent c6382e1 commit c4143af

File tree

3 files changed

+10
-14
lines changed

3 files changed

+10
-14
lines changed

.github/workflows/conan.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,13 @@ jobs:
6161

6262
- name: Create package
6363
shell: powershell
64-
#conan create . `
65-
#--build=missing `
66-
#-o "&:shared=False"
6764
run: |
6865
Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1
6966
refreshenv
7067
conan profile detect
71-
cmake . --preset conan-default
72-
cmake --build --preset=conan-release -j
68+
conan create . `
69+
--build=missing `
70+
-o "&:shared=False"
7371
env:
7472
CONAN_USER_HOME: c:/cache
7573
CONAN_USER_HOME_SHORT: c:/cache/conan_shortpaths

.github/workflows/release.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,13 @@ jobs:
5959

6060
- name: Create package
6161
shell: powershell
62-
#conan create . `
63-
#--build=missing `
64-
#-o "&:shared=False"
6562
run: |
6663
Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1
6764
refreshenv
6865
conan profile detect
69-
cmake . --preset conan-default
70-
cmake --build --preset=conan-release -j
66+
conan create . `
67+
--build=missing `
68+
-o "&:shared=False"
7169
env:
7270
CONAN_USER_HOME: c:/cache
7371
CONAN_USER_HOME_SHORT: c:/cache/conan_shortpaths

src/viam/sdk/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -293,10 +293,10 @@ elseif (NOT WIN32)
293293
target_link_libraries(viamsdk PRIVATE dl)
294294
target_link_libraries(viamsdk PRIVATE rt)
295295
else()
296-
target_link_libraries(viamsdk PRIVATE ncrypt)
297-
target_link_libraries(viamsdk PRIVATE secur32)
298-
target_link_libraries(viamsdk PRIVATE ntdll)
299-
target_link_libraries(viamsdk PRIVATE userenv)
296+
target_link_libraries(viamsdk PRIVATE ncrypt.lib)
297+
target_link_libraries(viamsdk PRIVATE secur32.lib)
298+
target_link_libraries(viamsdk PRIVATE ntdll.lib)
299+
target_link_libraries(viamsdk PRIVATE userenv.lib)
300300
endif()
301301

302302

0 commit comments

Comments
 (0)