mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-04-01 12:43:47 +00:00
Do not use -fvisibility option with Visual C
It doesn't know the option and prints a warning. llvm-svn: 244363
This commit is contained in:
parent
8ebad11ee9
commit
27aae88d76
@ -93,7 +93,9 @@ endif ()
|
||||
#
|
||||
# We also disable all warnings, as these should be fixed upstream. There is
|
||||
# no value in reporting them here.
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden -w")
|
||||
if (NOT MSVC)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden -w")
|
||||
endif ()
|
||||
|
||||
# Add path for custom modules
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${POLLY_SOURCE_DIR}/cmake")
|
||||
|
Loading…
x
Reference in New Issue
Block a user