mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 08:29:00 +08:00
14 lines
496 B
Diff
14 lines
496 B
Diff
diff --git a/src/cmake/compiler.cmake b/src/cmake/compiler.cmake
|
|
index 4f4f31c..a18895e 100644
|
|
--- a/src/cmake/compiler.cmake
|
|
+++ b/src/cmake/compiler.cmake
|
|
@@ -451,7 +451,7 @@ set (EXTRA_DSO_LINK_ARGS "" CACHE STRING "Extra command line definitions when bu
|
|
#
|
|
option (BUILD_SHARED_LIBS "Build shared libraries (set to OFF to build static libs)" ON)
|
|
if (NOT BUILD_SHARED_LIBS)
|
|
- add_definitions (-D${PROJECT_NAME}_STATIC_DEFINE=1)
|
|
+ add_definitions (-DOIIO_STATIC_DEFINE=1)
|
|
endif ()
|
|
|
|
|