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:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user