mirror of https://github.com/microsoft/vcpkg.git
17 lines
571 B
Diff
17 lines
571 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index f1f47ae..9b9f02a 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -13,6 +13,11 @@ set(
|
|
# Allow setting a prefix for the library names
|
|
set(CMAKE_STATIC_LIBRARY_PREFIX "lib${LIBRARY_PREFIX}")
|
|
set(CMAKE_SHARED_LIBRARY_PREFIX "lib${LIBRARY_PREFIX}")
|
|
+if(WIN32)
|
|
+ set(CMAKE_STATIC_LIBRARY_PREFIX "")
|
|
+ set(CMAKE_IMPORT_LIBRARY_PREFIX "")
|
|
+ set(CMAKE_SHARED_LIBRARY_PREFIX "lib")
|
|
+endif()
|
|
|
|
# Add the CMake directory for custom CMake modules
|
|
set(CMAKE_MODULE_PATH "${LAPACK_SOURCE_DIR}/CMAKE" ${CMAKE_MODULE_PATH})
|