mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 19:17:10 +01:00

* Initial version of nrf-ble-driver * Add system dependencies message * Try to find git and add to path * Add status message to debug CI build * Remove status message; Add comments * Append instead of prepend to PATH * Enable x64-windows-static * Only show system dependencies message on mac and linux * Add arm64-windows support
15 lines
765 B
Diff
15 lines
765 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 99daa24..9a18ee5 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -259,6 +259,9 @@ endforeach(SD_API_VER)
|
|
# Additional special linkage libraries
|
|
foreach(SD_API_VER ${SD_API_VERS})
|
|
if(WIN32)
|
|
+ # arm64-windows support
|
|
+ target_link_libraries(${NRF_BLE_DRIVER_${SD_API_VER}_STATIC_LIB} PRIVATE "advapi32")
|
|
+ target_link_libraries(${NRF_BLE_DRIVER_${SD_API_VER}_SHARED_LIB} PRIVATE "advapi32")
|
|
elseif(APPLE)
|
|
target_link_libraries(${NRF_BLE_DRIVER_${SD_API_VER}_STATIC_LIB} PRIVATE "-framework CoreFoundation" "-framework IOKit")
|
|
target_link_libraries(${NRF_BLE_DRIVER_${SD_API_VER}_SHARED_LIB} PRIVATE "-framework CoreFoundation" "-framework IOKit")
|