mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-13 00:44:34 +00:00
Fix for "multiple definition" link error with clang on Linux and shared Allegro lib
This commit is contained in:
parent
47a05434fe
commit
a11e6aff76
@ -129,10 +129,14 @@ else()
|
||||
endif()
|
||||
|
||||
# Fix to compile gtest with VC11 (2012)
|
||||
if (MSVC_VERSION EQUAL 1700)
|
||||
if(MSVC_VERSION EQUAL 1700)
|
||||
add_definitions(-D_VARIADIC_MAX=10)
|
||||
endif()
|
||||
|
||||
if(NOT WIN32 AND NOT APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu89")
|
||||
endif()
|
||||
|
||||
if(NOT USE_SHARED_CURL)
|
||||
set(CURL_STATICLIB ON BOOL)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user