0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-26 08:01:51 +08:00
This commit is contained in:
Sergey Yagovtsev 2017-11-05 12:27:43 +03:00
parent ec720bfb25
commit 6db3cafdce

View File

@ -161,7 +161,7 @@ target_compile_definitions(easy_profiler PRIVATE
-D_BUILD_PROFILER=1
#-DEASY_PROFILER_API_DISABLED # uncomment this to disable profiler api only (you will have to rebuild only easy_profiler)
)
if (EASY_OPTION_LIB_STATIC)
if (NOT BUILD_SHARED_LIBS)
target_compile_definitions(easy_profiler PUBLIC -DEASY_PROFILER_STATIC=1)
endif ()
target_compile_definitions(easy_profiler PUBLIC