提交 6d8146f6 编写于 作者: B BtbN

Honor QUIET argument in FindJansson

上级 e7dfdbae
......@@ -46,7 +46,9 @@ else()
".*#define[ \t]+JANSSON_VERSION[ \t]+\"(.+)\".*" "\\1"
_JANSSON_VERSION_STRING "${_jansson_version_parse}")
else()
message(WARNING "Failed to find Jansson version")
if(NOT Jansson_FIND_QUIETLY)
message(WARNING "Failed to find Jansson version")
endif()
set(_JANSSON_VERSION_STRING "unknown")
endif()
......
......@@ -30,7 +30,7 @@ target_include_directories(glad
target_compile_definitions(glad
PRIVATE GLAD_GLAPI_EXPORT_BUILD)
if(NOT WIN32)
if(NOT MSVC)
target_compile_options(glad
PRIVATE -DPIC -fPIC -fvisibility=hidden)
endif()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册