2019-12-25 13:42:31 +08:00
|
|
|
diff --git a/src/cmake/compiler.cmake b/src/cmake/compiler.cmake
|
2020-07-08 04:48:51 +08:00
|
|
|
index 1468be3..ed4167a 100644
|
2019-12-25 13:42:31 +08:00
|
|
|
--- a/src/cmake/compiler.cmake
|
|
|
|
+++ b/src/cmake/compiler.cmake
|
2020-07-08 04:48:51 +08:00
|
|
|
@@ -482,7 +482,7 @@ set (EXTRA_DSO_LINK_ARGS "" CACHE STRING "Extra command line definitions when bu
|
2019-12-25 13:42:31 +08:00
|
|
|
#
|
|
|
|
option (BUILD_SHARED_LIBS "Build shared libraries (set to OFF to build static libs)" ON)
|
|
|
|
if (NOT BUILD_SHARED_LIBS)
|
2020-07-08 04:48:51 +08:00
|
|
|
- add_definitions (-D${PROJ_NAME}_STATIC_DEFINE=1)
|
2019-12-26 12:06:42 +08:00
|
|
|
+ add_definitions (-DOIIO_STATIC_DEFINE=1)
|
2019-12-25 13:42:31 +08:00
|
|
|
endif ()
|
|
|
|
|
|
|
|
|