1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

fix deprecation tag in option and reverse warning check

This commit is contained in:
Elliot
2023-11-15 13:02:05 -05:00
parent a3774039f6
commit 67b454286f
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -95,8 +95,8 @@ if get_option('tracy_no_crash_handler')
endif
tracy_shared_libs = get_option('default_library') == 'shared'
if tracy_shared_libs and not get_option('tracy_shared_libs')
warning('tracy_shared_libs is set to false, but default_library is set to shared. Building shared library.')
if not tracy_shared_libs and get_option('tracy_shared_libs')
warning('tracy_shared_libs is set to true, but default_library is set to static. Building static library.')
endif
if tracy_shared_libs