mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
14 lines
493 B
Diff
14 lines
493 B
Diff
diff --git a/src/cmake/compiler.cmake b/src/cmake/compiler.cmake
|
|
index 1468be3..ed4167a 100644
|
|
--- a/src/cmake/compiler.cmake
|
|
+++ b/src/cmake/compiler.cmake
|
|
@@ -482,7 +482,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${PROJ_NAME}_STATIC_DEFINE=1)
|
|
+ add_definitions (-DOIIO_STATIC_DEFINE=1)
|
|
endif ()
|
|
|
|
|